AGENT SKILL

skill-scope

skills, scope, local, global, discovery, creation

License 许可
BSD-3-Clause
所属仓库
lost-rob0t/skills
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
skill-scope
description
skills, scope, local, global, discovery, creation
compatibility
Agent Skills-compatible agent with filesystem access

02 资源文件 1

03 SKILL.md 正文

Skill Scope

Goal

Resolve skill origin and edit ownership without confusing installed global skills with project-local skills.

Workflow

  1. Run scripts/skill-scope list --project "$PWD" to inventory both scopes.
  2. Project-local skills are only .opencode/skills/<name> and .agents/skills/<name> beneath the current repository.
  3. Global installed skills are runtime views; the editable source is OPENCODE_GLOBAL_SKILLS_CHECKOUT, falling back to ~/Documents/AI/skills for this owner environment.
  4. For creation, require --scope local|global. Never infer global merely because an installed skill exists.
  5. Use skill-edit for validation, tests, and publishing after ownership is resolved.

Rules

  • Never edit Nix store paths or generated runtime adapters.
  • Prefer local scope when a workflow belongs to one project.
  • Use global scope only for genuinely reusable workflows or explicit requests.
  • Report the origin path with every listed skill.

04 同仓库更多 Skills