레퍼런스
스킬
플랜 스위트와 생태계 감사를 위한 탐지 신호, 절차, 시행 훅을 갖춘, SKILL.md 파일 속 재사용 가능한 탐지형 기법입니다.
스킬은 src/apothem/skills/ 아래의 폴더로 있으며, 각각 SKILL.md 진입점을
가집니다. 스킬은 재사용 가능한 탐지형 기법을 담습니다 — 탐지 신호, 절차, 시행
훅을 가집니다.
전체 스킬 카탈로그는 아래 생성된 스킬 인벤토리에 생성됩니다.
Frontmatter 계약
SKILL.md는 정규 여덟 개 키의 frontmatter를 담습니다. 기계 판독 가능한
계약은 skill.schema.json
(additionalProperties: false)이며, 이 블록은 그 계약을 그대로 반영합니다.
---
name: <skill name>
version: <semver>
updated: <YYYY-MM-DD>
description: <one-line role>
archetype: <class-template, e.g. workflow-template>
userInvocable: <true | false>
disable-model-invocation: <true | false>
allowed-tools: <comma-separated read-only tools and scoped rules, e.g. "Read, Glob, Grep" or "Read, Bash(git log *)">
---하니스별 방출
소스 스킬은 위의 키를 사용합니다. 일부 하니스는 다른 키를 읽으므로, 설치는 그 하니스에 대해서만 키를 변환합니다.
| 하니스 | 설치가 바꾸는 것 |
|---|---|
| Claude Code(설치 및 플러그인) | userInvocable을 Claude Code가 읽는 키인 user-invocable로 이름을 바꿉니다. Claude Code는 camelCase 키를 무시하므로, 이름을 바꾸지 않으면 userInvocable: false로 표시된 스킬이 여전히 / 메뉴에 나타납니다. |
공유 사용자 수준 스킬 폴더: ~/.agents/skills/(Codex, Cursor, GitHub Copilot, Windsurf, Zed가 씀)와 ~/.codebuddy/skills/, ~/.kiro/skills/, ~/.trae/skills/ | 이 폴더 중 하나를 쓰는 모든 설치에 하나의 형태를 적용하므로, 설치들이 서로의 파일을 다시 쓰는 일이 없습니다. userInvocable을 user-invocable로 이름을 바꾸고, version, updated, archetype, portability를 따옴표로 묶은 문자열로 이루어진 후행 metadata: 맵 아래로 옮기며, 소스가 disable-model-invocation: true를 설정한 모든 스킬 옆에 policy.allow_implicit_invocation: false를 담은 agents/openai.yaml을 씁니다. Codex는 그 키를 무시하고, Codex 어댑터가 썼는지와 관계없이 ~/.agents/skills/를 읽기 때문입니다. 스킬로 감싼 명령은 본문을 온전히 유지하며, 규칙 및 템플릿 폴더인 ~/.config/apothem/rules/와 ~/.config/apothem/templates/를 명시하는 고정된 안내문 하나로 시작합니다. 남는 최상위 키는 name, description, user-invocable, disable-model-invocation, allowed-tools, argument-hint, metadata입니다. |
| Qwen Code | 쉼표로 구분된 allowed-tools 문자열을 한 줄에 YAML 항목 하나씩인 allowedTools 목록으로 다시 씁니다. Qwen Code는 camelCase 키만 읽고 목록을 요구하기 때문입니다. 각 항목은 Bash(git status *) 같은 패턴을 포함해 소스의 표기를 유지합니다. 다른 모든 키와 스킬 본문은 변경 없이 설치됩니다. |
| 기타 하니스 | 변경 없음. |
skill.schema.json은 사용자 호출 가능 여부 플래그의 두 철자 중 어느 쪽이든
받아들이며, 둘 중 정확히 하나를 요구합니다.
작성 규율
- 스킬별 폴더. 모든 스킬은 진입점이
SKILL.md에 있는 자체 폴더입니다. - 탐지 신호. 스킬 본문은 해당 기법을 촉발하는 탐지 신호로 시작합니다.
- 절차 + 시행. 스킬은 적용할 절차와 루프를 닫는 시행 신호를 모두 담습니다.
- 설명 길이.
description은 최대 1,024자이며, 이는 Agent Skills 한도입니다. 더 엄격한 도구는 더 긴 설명을 거부하거나 잘라 내며, 스키마가 이 한도를 강제합니다.
생성된 스킬 인벤토리
| Name | Description | Source |
|---|---|---|
decision-matrix | Choose between two or more options with a weighted, evidence-cited matrix, a runner-up and a first step. Use when the user asks to 'compare these options', 'help me choose between', 'weigh the trade-offs' or 'which one should we pick'. Not for single-answer lookups or building a chosen option. | src/apothem/skills/decision-matrix/SKILL.md |
dependency-upgrade | Upgrade a project's third-party dependencies with changelog review, pinned versions and the host's lint, test and type-check gates. Runs only when the user invokes it (for example to bump deps or refresh the lockfile). Breaking and major bumps stop for a question; --dry-run classifies without writing; --package NAME scopes to one dependency. | src/apothem/skills/dependency-upgrade/SKILL.md |
dev-toolkit | Run a disciplined engineering loop: reproduce-first debugging, test-first red-green-refactor, vertical slices, or a requirement split into issues. Use for 'diagnose a bug', 'do TDD', 'break this into vertical slices' or 'turn this into issues'. Not for one-line edits or multi-agent orchestration. | src/apothem/skills/dev-toolkit/SKILL.md |
diagram-authoring | Author, validate and render diagrams (flowchart, sequence, state, ER, architecture) and data visualizations to SVG, PNG or PDF. Use when the user asks to 'draw a diagram', 'make a flowchart', 'render this Mermaid' or 'export a diagram to SVG'. Source is syntax-validated before render. | src/apothem/skills/diagram-authoring/SKILL.md |
document-authoring | Write a long, cited document (thesis, report, LaTeX) from an approved outline, with checked citations and a PDF compile. Use when the user asks to 'write a thesis', 'author a LaTeX document', 'compile this to PDF' or 'manage the bibliography'. Not for short edits; pipeline papers: research-paper. | src/apothem/skills/document-authoring/SKILL.md |
ecosystem-audit | Audit the apothem configuration tree as a whole for drift, orphans, dangling references and invalid frontmatter. Use when the user asks to 'audit the ecosystem', 'validate the apothem tree' or 'sweep for drift'. Report-only unless --fix is passed. Changed artifacts only: convention-auditor. | src/apothem/skills/ecosystem-audit/SKILL.md |
eval-harness | Build a reproducible evaluation harness for a prompt or model: versioned labeled dataset, scorer, runner and a report with pass rate, interval and regressions. Use when the user asks to 'build an eval' or 'compare models on a labeled task'. One campaign: eval; rubric scoring: prompt-evaluator. | src/apothem/skills/eval-harness/SKILL.md |
incident-runbook | Write or run an incident runbook (Trigger, Diagnosis, Action, Verification, Rollback) with a rollback per action and confirmation before live changes. Use when the user asks to 'write a runbook', 'define an on-call procedure' or 'document recovery steps'. Not for post-mortems. | src/apothem/skills/incident-runbook/SKILL.md |
issue-lifecycle | Takes a reported defect from issue to fix, one stage per run. Use for 'create an issue', 'size this issue', 'reproduce this bug', 'fix issue 123', 'ask the reporter for details' or 'open a draft PR'. Manual only; posts nothing unasked. Debug loops go to dev-toolkit, advisories to vuln-triage. | src/apothem/skills/issue-lifecycle/SKILL.md |
knowledge-wiki | Adds sources to and audits an index-first Markdown knowledge base, when the user asks to 'add this paper to the wiki', 'ingest these sources', 'lint the wiki' or 'what changed in the knowledge base'. Modes: ingest, lint, drift, hubs. Not source discovery or a one-off summary. | src/apothem/skills/knowledge-wiki/SKILL.md |
multi-source-research | Produces a cited, cross-verified research report with confidence levels, when the user asks to 'research X deeply', 'find sources on' or 'gather evidence about'. Finds new sources and writes the report; given documents: source-synthesis, one claim: fact-checker, a bare source list: research-scout. | src/apothem/skills/multi-source-research/SKILL.md |
paper-toolkit | Papers with no research suite: 'write a reading note', 'compare these papers', 'draft related work', 'what would reviewers ask', 'dedupe my references', 'turn DOIs into BibTeX entries'. Suite or referee review: research-* commands. Reference checks: citation-auditor. Loose files: source-synthesis. | src/apothem/skills/paper-toolkit/SKILL.md |
perspectives | Answers a contested question by arguing it from several separate viewpoints, then reconciling them, when the user asks to 'argue both sides', 'what would a skeptic say' or 'we are split on'. Weighted choices go to decision-matrix, claim checks to fact-checker, builds and reviews to workflow. | src/apothem/skills/perspectives/SKILL.md |
plan-suite | Master Plan Suite template, read by path by the /plan pipeline stages (spec, generate, review, design, audit, execute, status, amend). Holds master-template.md, the canonical plan-suite specification. A template, not invoked directly and not listed; use the /plan commands instead. | src/apothem/skills/plan-suite/SKILL.md |
projectify | Builds the Description, Instruction and knowledge files for a chat-app Project or custom assistant within a measured context budget, when the user asks to 'projectify this', 'write Project instructions' or 'set up a custom assistant'. Not for repository rules, skills or commands. | src/apothem/skills/projectify/SKILL.md |
prompt-engineering | Designs a structured prompt and validates it against happy, edge and adversarial eval cases, when the user asks to 'design a prompt', 'write a system prompt for' or 'improve this prompt'. Delivers the prompt plus its eval set; not a running agent or a model benchmark (eval-harness). | src/apothem/skills/prompt-engineering/SKILL.md |
refactor-extract | Extracts a symbol or file without changing behavior, interactively: specifies what it does, re-derives it clean-room, then checks nothing regressed, when the user asks to 'extract this function' or 'pull this out into its own module'. Delegated refactors: refactor-surgeon. | src/apothem/skills/refactor-extract/SKILL.md |
research-suite | Research Suite template, read by path by the /research pipeline stages (ideate through disseminate). Holds the canonical research-suite surface: the ten rigor mandates and the thirteen-stage lifecycle. A template, not invoked directly and not listed; use the /research commands instead. | src/apothem/skills/research-suite/SKILL.md |
secret-rotation | Use when a credential has leaked or been committed ('rotate a secret', 'a key leaked') and must be retired safely: revokes the exposed secret at its issuer first, re-issues a least-privilege replacement, rewires config through env vars or a secret manager, then checks no plaintext remains. Runs only when the user invokes it. | src/apothem/skills/secret-rotation/SKILL.md |
source-synthesis | Reconciles given documents into one cited synthesis separating consensus from contested claims, when the user asks to 'synthesize these sources', 'combine these documents' or 'what do these say together'. Needs two or more sources. Finding them: multi-source-research; gap map: research-synthesis. | src/apothem/skills/source-synthesis/SKILL.md |
surgical-guard | Makes a minimal, anchor-bounded edit, then reviews only its diff for swallowed errors, hollow tests and docs drift, when the user asks to 'edit surgically', 'make a minimal diff' or 'guard this change'. Not for working out what the change should be (dev-toolkit). | src/apothem/skills/surgical-guard/SKILL.md |
teaching-pack | Builds a teaching pack from one paper or technical document: goals, curriculum, formula walk-throughs, worked examples, quiz with key, glossary, slides on request. For 'teach me this paper' or 'make a study guide from this spec'. Several sources: source-synthesis; critique: research-review. | src/apothem/skills/teaching-pack/SKILL.md |
test-authoring | Writes new behavior-first tests in Arrange-Act-Assert form, failing assertions first, covering happy path, edge boundaries and failures, when the user asks to 'write tests' or 'test this function'. Authors tests only. Whole-repo suite: test-suite; running tests: test-runner. | src/apothem/skills/test-authoring/SKILL.md |
ui-design | Designs or refines a user interface: classifies the surface, applies design rules and keeps DESIGN.md current, when the user asks to 'design a landing page', 'improve this UI', 'make it look better' or 'pick a palette and type scale'. Not for critique-only review (design-critic) or backend logic. | src/apothem/skills/ui-design/SKILL.md |
vuln-triage | Triages one named CVE or security advisory: severity band, affected surface in the lockfile, reachability, and a patch, upgrade, mitigate or accept route, when the user asks to 'triage this CVE' or 'does this advisory affect us'. Does not apply fixes or scan the whole repository. | src/apothem/skills/vuln-triage/SKILL.md |
workflow | Use for a non-trivial mission that needs independent parallel work plus adversarial verification: decomposes it, dispatches independent subagents under named return contracts, runs a refute-by-default critique on every finding, and discloses any beyond-mission fixes. Runs only when the user invokes it, as in 'fan out and verify'. | src/apothem/skills/workflow/SKILL.md |