Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add JJHbrams/Project-AMBER --skill feature-specgit clone --depth 1 https://github.com/JJHbrams/Project-AMBERWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jjhbrams/project-amber/feature-spec)<a href="https://agentmods.dev/skills/jjhbrams/project-amber/feature-spec"><img src="https://agentmods.dev/badge/skills/jjhbrams/project-amber/feature-spec/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jjhbrams/project-amber/feature-spec"><img src="https://agentmods.dev/badge/skills/jjhbrams/project-amber/feature-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00172 | $0.02310 |
| Opus 5.5 | $0.00069 | $0.00924 |
| Sonnet 5.5 | $0.00034 | $0.00462 |
| Haiku 4.5 | $0.00017 | $0.00231 |
Grade A, and why
feature-spec scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
feature-spec — 기능 설계 명세 워크플로
기능 1개 = 문서 1개(docs/design/NNNN-slug.md). 그 문서가 의도(왜)와 설계(어떻게)를 같이 들고 있고,
spec.mjs check 가 사람 대신 형식·정합성을 본다. 사람은 내용만 본다.
intent.md 계열과의 관계, 이 절차를 유지할 근거는 references/why-tiers.md.
한 줄로: intent.md 는 §1~§2 다. 나머지 섹션은 intent.md 가 일부러 안 다루는 영역이라 대체 관계가 아니다.
언제 쓰나
- 새 기능·리팩터를 착수하기 전 설계할 때
- 기존 코드에서 역설계 명세를 뽑을 때(규제 제출·인수인계)
- 여러 파일·프로세스·비동기 경계를 건드려서 "머릿속 계획"이 안 버틸 때
안 쓰는 경우: 파일 1개 수정, 오타·문구, 이미 명세가 있는 항목의 후속 커밋. 작은 일에 tier L 을 붙이는 게 이 절차가 욕먹는 유일한 이유다.
0. tier 부터 정한다 (제일 중요)
| tier | 쓸 때 | 필수 섹션 |
|---|---|---|
| S | 파일 2~3개, 상태 기계 없음, 외부 경계 없음 | §1 의도 · §2 수용기준 · §3 확정사실 · §9 변경지점 · §10 잠재문제 · §11 착수순서 |
| M | 기본값. UI 상태가 생기거나 파이프라인이 여러 단계 | S + §4 유스케이스 · §5 flowchart · §6 상태전이 |
| L | 규제(SaMD/SDD/RMF), 외부 인터페이스, 동시성·타임아웃·스키마 변경 | M + §7 타이밍 · §8 ER · §12 추적성 |
모호하면 M. 다이어그램을 하나 더 그리는 비용보다, 상태 전이를 안 그려서 실패 경로에 잔여물 남기는 비용이 크다. 반대로 tier L 을 습관적으로 붙이면 문서가 의례가 되고 아무도 안 읽는다.
절차
1) 문서를 만든다
node "<skill_dir>/spec.mjs" new "<제목>" --tier M --issue <Gitea 이슈번호>
docs/design/0007-slug.md 가 생기고 tier 에 맞는 섹션만 채워진다.
2) §1 의도 · §2 수용기준을 사용자와 합의한다
여기서 코드로 넘어가지 않는다. 확정 전까지는 질문이 코드보다 싸다.
- §1 불변식: 절대 깨지 않을 것(원본 불변, 비밀은 프로세스를 안 떠남, 개인정보 최소).
- §1 비목표: 이번에 안 하는 것을 적어야 스코프가 안 샌다.
- §2 수용기준:
AC-n마다 검증 방법을 반드시 적는다 — 비어 있으면check가 막는다. "빠르다" 금지.p95 < 200ms,실패 시 artifacts 행 0건처럼 관측 가능하게.
3) §3 확정 사실을 조사로 채운다 (추측 금지)
버전·기존 동작·의존성 유무를 실제로 확인해서 적는다. "어떻게 확인했는지"까지 한 칸에. 확인 못 한 가정은 §3 이 아니라 §10 잠재 문제로 내려보낸다. 이 구분이 이 문서 포맷의 핵심이다.
4) 다이어그램을 그린다 (tier 가 요구하는 것만)
| 섹션 | 다이어그램 | 이걸로 잡는 실수 |
|---|---|---|
| §4 유스케이스 | flowchart LR |
누가 쓰는지, 예외 시나리오 누락 |
| §5 파이프라인 | flowchart TD |
분기·에러 경로 누락 |
| §6 액션·상태 전이 | stateDiagram-v2 |
실패 상태에서 잔여물 정리 누락 — 가장 자주 터지는 곳 |
| §7 타이밍 | sequenceDiagram |
timeout 값의 근거 없음, 순서 뒤집힘 |
| §8 데이터 | erDiagram |
마이그레이션·CASCADE 누락 |
§6 은 표로 상태별 저장/이벤트/UI 반응까지 같이 적는다. 그림만 있으면 반쪽이다.
5) §9 변경 지점 · §11 착수 순서
- §9 경로는 백틱으로. 신규 파일은
(신규)표기 —check가 실존 여부를 대조한다. - §11 은 얇은 수직 슬라이스로 자른다: "버튼 하나가 실제로 되는" 단위. 각 항목에 담당
AC-n을 적는다.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 121 lines · 172 tokens per session scan A 9eb7c7c38b9c
feature-spec is a skill published in the GitHub repository JJHbrams/Project-AMBER (1 stars, last pushed 4d ago), licensed MIT. It adds 172 tokens to every session and 2,310 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-21.
feature-spec compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| feature-specJJHbrams/Project-AMBER | Skill | 1 | 4d ago | MIT | A | 172 | Claude Code, Codex |
| memory-audit-discoverabilityDataojitori/nocturne_memory | Skill | 1.4k | 26d ago | MIT | A | 35 | Claude Code |
| memory-audit-pattern-extractionDataojitori/nocturne_memory | Skill | 1.4k | 26d ago | MIT | A | 48 | Claude Code |
| memory-auditDataojitori/nocturne_memory | Skill | 1.4k | 26d ago | MIT | A | 37 | Claude Code |
| mengram-memoryalibaizhanov/mengram | Skill | 207 | 21d ago | Apache-2.0 | A | 53 | Claude Code, Codex |
| add-connectorsliamh11/Deus | Skill | 51 | 6d ago | MIT | A | 49 | Claude Code |
| quiz-mesliamh11/Deus | Skill | 51 | 6d ago | MIT | A | 81 | Claude Code |