harness-skills-deps
Manage ai-specs skills and external dependencies: create local skills, skills add/list/remove, and add-dep, then sync. Trigger: When creating a local skill, installing a vendored skill from git, listing registered skills, or removing a skill dependency.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 2
01 前言 Front Matter
- name
- harness-skills-deps
- license
- MIT
- metadata
- { "scope": [ "root" ], "author": "ai-specs", "version": "1.0", "auto_invoke": [ "Create a local ai-specs skill in the project", "Install or add an external skill dependency", "List or remove vendored skills", "Register a skill with skills add or add-dep" ] }
- description
- Manage ai-specs skills and external dependencies: create local skills, skills add/list/remove, and add-dep, then sync. Trigger: When creating a local skill, installing a vendored skill from git, listing registered skills, or removing a skill dependency.
03 SKILL.md 正文
Harness skills and deps
Operate local skills and vendored skill deps. For recipe catalog ops
see harness-recipes. For sync/doctor see harness-lifecycle.
Local skills
- Author under
ai-specs/skills/<name>/SKILL.md. - Follow
skill-creatorfor structure, naming, and frontmatter (scope+auto_invokewhen the skill should auto-invoke). - Validate metadata with
skill-syncafter create/edit. - Run
ai-specs syncso fan-out and AGENTS.md stay current.
Do not hand-edit generated agent instruction files to "register" a skill — sync owns that path.
External / vendored deps
ai-specs skills add <git-url> [path] # register [[deps]] + sync
# alias:
ai-specs add-dep <git-url> [path]
ai-specs skills list [path] # bundled / local / recipe / registered
ai-specs skills remove <id> [path] # drop from manifest
After add/remove, ensure sync completed (add already triggers sync; if you
edited toml by hand, run ai-specs sync).
Precedence (remember)
Local > recipe > dependency when skill names collide. Prefer local overrides only when intentional.
Pitfalls
- Creating files under
.deps/or.recipe/by hand — those trees are managed/gitignored; use CLI + localai-specs/skills/. - Missing frontmatter — sync warns; auto-invoke will not work. Use
skill-sync. - Forgetting sync after local skill edits — other runtimes never see it.
- Confusing recipe skills with deps — recipes come from
ai-specs recipe add; git skill packages useai-specs skills add.
Checklist
- [ ] Local skill path is
ai-specs/skills/<name>/SKILL.md - [ ] Frontmatter valid (
skill-creator+skill-sync) - [ ] External deps added via
ai-specs skills add/ai-specs add-dep - [ ]
ai-specs skills listshows the expected sources - [ ]
ai-specs syncafter changes
04 同仓库更多 Skills
test-skill
Test skill for fixture purposes.
obsidian-markdown
Fixture skill for obsidian-markdown.
obsidian-cli
Fixture skill for obsidian-cli.
obsidian-bases
Fixture skill for obsidian-bases.
json-canvas
Fixture skill for json-canvas.
defuddle
Fixture skill for defuddle.