Skills
Use Knowns skills across supported AI runtimes.
Skills
Skills are reusable workflow instructions embedded in the Knowns binary and synced to platform-specific directories.
Skills are separate from MCP tools. MCP tools appear in clients as structured domain tools such as tasks, docs, memory, search, and code; skills are invoked through each agent's skill-command syntax.
Current skill paths
.claude/skills-> Claude Code.agents/skills-> OpenCode, Codex, Hermes Agent, Antigravity, Generic Agents.kiro/skills-> Kiro
Setup
Skills are generated via knowns setup <target> --global for normal personal assistant setup, via knowns setup <target> for intentional repo-local setup, or re-synced with knowns sync --skills:
knowns setup claude --global # Syncs Claude skills/config at user scope
knowns setup opencode --global # Syncs OpenCode skills/config at user scope
knowns setup codex --global # Syncs Codex skills/config at user scope
knowns setup hermes --global # Syncs Hermes external skill config at user scope
knowns setup kiro --global # Syncs Kiro skills/config at user scope
knowns sync --skills # Re-syncs all configured platforms
Invocation syntax
| Platform | Example |
|---|---|
| Claude Code | /kn-spec, /kn-flow, /kn-review |
| Codex | $kn-spec, $kn-flow, $kn-review |
For SDD, the recommended approved-spec path is:
Claude Code:
/kn-spec <feature-name>
/kn-flow @doc/<spec-path>
Codex:
$kn-spec <feature-name>
$kn-flow @doc/<spec-path>
$kn-flow @doc/<spec-path> --sequential # Opt out of Codex sub-agent delegation
kn-go still exists for the legacy no-review-gates pipeline. Use kn-flow for normal approved-spec execution.
Research behavior
kn-research is MCP-first:
- use Knowns
search/retrievefor project docs, tasks, memory, and decisions - use Knowns
codetools before raw file search for code structure, symbols, definitions, and references - use specialized external MCP providers such as Context7/library docs, GitHub/source MCP, or official docs MCP when upstream facts matter
- use general web search only when specialized MCP providers are unavailable, insufficient, or explicitly requested
When the research scope is large and the runtime exposes sub-agent tools, kn-research may split independent tracks across sub-agents. External results should be treated as supporting evidence, not as a replacement for local docs, tasks, source files, or user instructions.
Notes
.agents/skillsis the primary path for agent-compatible platformsknowns initno longer syncs skills — useknowns setup <target> --globalafter init for personal assistant setupknowns sync --skillsis the entrypoint for regenerating skills after updates
Skills
Skills là reusable workflow instructions, embedded trong Knowns binary và sync ra platform-specific directories.
Skills tách biệt với MCP tools. MCP tools hiện trong client dưới dạng structured domain tools như tasks, docs, memory, search, và code; skills được gọi bằng skill-command syntax của từng agent.
Skill paths
.claude/skills→ Claude Code.agents/skills→ OpenCode, Codex, Hermes Agent, Antigravity, Generic Agents.kiro/skills→ Kiro
Setup
Skills được tạo qua knowns setup <target> --global cho personal assistant setup thông thường, qua knowns setup <target> khi chủ ý muốn repo-local setup, hoặc re-sync bằng knowns sync --skills:
knowns setup claude --global # Sync Claude skills/config ở user scope
knowns setup opencode --global # Sync OpenCode skills/config ở user scope
knowns setup codex --global # Sync Codex skills/config ở user scope
knowns setup hermes --global # Sync Hermes external skill config ở user scope
knowns setup kiro --global # Sync Kiro skills/config ở user scope
knowns sync --skills # Re-sync tất cả platforms đã cấu hình
Invocation syntax
| Platform | Ví dụ |
|---|---|
| Claude Code | /kn-spec, /kn-flow, /kn-review |
| Codex | $kn-spec, $kn-flow, $kn-review |
Với SDD, approved-spec path được khuyến nghị là:
Claude Code:
/kn-spec <feature-name>
/kn-flow @doc/<spec-path>
Codex:
$kn-spec <feature-name>
$kn-flow @doc/<spec-path>
$kn-flow @doc/<spec-path> --sequential # Opt out Codex sub-agent delegation
kn-go vẫn còn cho legacy no-review-gates pipeline. Dùng kn-flow cho normal approved-spec execution.
Research behavior
kn-research là MCP-first:
- dùng Knowns
search/retrievecho project docs, tasks, memory, và decisions - dùng Knowns
codetools trước raw file search để xem code structure, symbols, definitions, và references - dùng specialized external MCP providers như Context7/library docs, GitHub/source MCP, hoặc official docs MCP khi cần upstream facts
- dùng general web search chỉ khi specialized MCP providers không có, không đủ, hoặc user yêu cầu rõ
Khi research scope lớn và runtime expose sub-agent tools, kn-research có thể tách các track độc lập cho sub-agents. External results chỉ là supporting evidence, không thay thế local docs, tasks, source files, hoặc user instructions.
Ghi chú
.agents/skillslà primary path cho agent-compatible platformsknowns initkhông còn sync skills — dùngknowns setup <target> --globalsau init cho personal assistant setupknowns sync --skillslà entrypoint để regenerate skills sau khi update