360 Secure SkillHub
360 安全技能中心

Steam Companion

该 Skill 按 TypeScript 模块划分为 manifest、类型、记忆、服务、工具与提示词,面向 Steam 档案、已拥有/喜爱/不喜爱/愿望单游戏提供结构化推荐与评测上下文,并通过记忆层保存偏好。业务逻辑集中在 service,传输层与 AI 提供商逻辑不包含在 Skill 内,API 密钥由宿主解析。

franciscoagx
franciscoagx
热度 8.83
最近更新 2026-06-29 23:48:58
分类:生活依赖:内部调用大模型 / 读写文件应用场景:推荐 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add steam-companion-skill
Metadata
name
steam-companion
description
Reusable Steam gaming companion for profiles, recommendations, reviews, and preference memory.

Steam Companion

Use this skill for Steam-related requests about gaming profiles, owned/favorite/disliked/wishlist games, recommendation context, and review help.

Architecture

  • manifest.ts: registration surface for OpenClaw Core.
  • types.ts: domain models and contracts.
  • memory.ts: repository abstraction plus in-memory and JSON implementations.
  • service.ts: business rules only.
  • tools.ts: tool definitions and thin handlers.
  • prompts.ts: provider-agnostic prompts.
  • constants.ts: names, version, and scoring defaults.
  • index.ts: public export surface.

Rules

  • Keep all business logic in service.ts.
  • Keep transport-specific code out of the skill.
  • Keep AI provider logic out of the skill.
  • Use memory.ts only for persistence adapters and model helpers.
  • Prefer structured recommendation and review context over free-form prose.
  • Explain recommendations with clear reasons, tradeoffs, and confidence limits.
  • When the Core fetches Steam Web API data, pass it in as a snapshot and let the service merge it.
  • The skill never reads API keys directly; the Core resolves them via OpenClaw secrets.