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 agentmods add skills/kimsanguine/hplan/agent-setupnpx skills add kimsanguine/hplan --skill agent-setupgit clone --depth 1 https://github.com/kimsanguine/hplanWrote 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/kimsanguine/hplan/agent-setup)<a href="https://agentmods.dev/skills/kimsanguine/hplan/agent-setup"><img src="https://agentmods.dev/badge/skills/kimsanguine/hplan/agent-setup.svg" alt="Measured on agentmods" 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 | $0.00087 | $0.03365 |
| Opus 5 | $0.00044 | $0.01682 |
| Sonnet 5 | $0.00017 | $0.00673 |
| Haiku 4.5 | $0.00009 | $0.00336 |
Grade B, and why
agent-setup scanned grade B with 1 finding 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 3d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
!`cat .claude/MEMORY.md 2>/dev/null || echo "프로젝트 메모리 없음"` How it starts
The opening of the file, as written. The whole thing — 324 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Core Goal
두 영역을 단일 인터페이스로 통합한다:
| focus | 책임 | 출력 |
|---|---|---|
--focus instructions |
System Prompt + 7요소 + tool list + memory_config 완전 명세 | 즉시 배포 가능한 완전 Instruction 세트 |
--focus claude-md |
프로젝트 스캔 → CLAUDE.md / AGENTS.md 생성·개선 | 프로젝트 메모리 파일 (9룰 구조 적용) |
--focus both |
인스트럭션 먼저, 그 결과를 CLAUDE.md/AGENTS.md에 반영 | 통합 에이전트 환경 세팅 |
기본값:
--focus both— 새 에이전트 세팅에는 둘 다 필요하다.
Trigger Gate
Use This Skill When
- 새 에이전트 환경 전체 세팅 →
--focus both - 에이전트 System Prompt + 7요소만 설계 →
--focus instructions - 프로젝트 CLAUDE.md / AGENTS.md 생성·개선만 →
--focus claude-md - 기존 인스트럭션 최적화·디버깅 →
--focus instructions --level draft - 팀원 온보딩을 위한 프로젝트 컨텍스트 공유 →
--focus claude-md
Route to Other Skills When
- 컨텍스트 윈도우 예산 계획 →
deliver/prdSection 9 (메모리 설계) - PRD 공식 문서화 →
deliver/prd - 에이전트 설계 구현 전 4축 검증 →
deliver/conductor(Spec Compliance 게이트)
Boundary Checks
--focus미명시 →both기본값 진입 + 사용자 안내- Anti-Goals 없으면 instructions/both 모두 경고 (Anti-Goals는 에이전트 설계 필수)
- Tool 목록에 사용 조건 없으면 경고 (도구 남용 방지)
- CLAUDE.md는 프로젝트 레벨 컨텍스트 문서이지 에이전트 Instruction이 아님
Inputs
| 입력 | 출처 | 처리 |
|---|---|---|
--focus |
$ARGUMENTS |
instructions/claude-md/both 분기 |
--level draft|full |
$ARGUMENTS (instructions focus에만 적용) |
draft: PM 관점 초안, full: 완전 명세 |
| target | $ARGUMENTS (옵션 이후 나머지) |
에이전트명, 목적, 또는 프로젝트 경로 |
.claude/MEMORY.md |
프로젝트 루트 (있을 때) | 프로젝트 컨텍스트 자동 참조 |
agents/*/INSTRUCTION.md |
프로젝트 루트 (있을 때) | 기존 에이전트 인스트럭션 자동 참조 |
Instructions
You are setting up the agent environment with arguments: $ARGUMENTS
공통 Step 0 — focus 파싱
args = parse("$ARGUMENTS")
focus = args.get("--focus", "both") # 기본값: both
level = args.get("--level", "full") # instructions focus 시 기본값: full
target = args remainder after options
focus 미명시 시:
"--focus 미명시 —
--focus both기본값으로 진입합니다. 사용 가능:--focus instructions|claude-md|both"
focus: instructions
instructions의 역할: System Prompt + 7요소 + tool list + memory_config 완전 명세. "신입 직원 온보딩 문서" 수준.
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.
- 3d ago First seen · 324 lines · 87 tokens per session scan B 29327bb3c21d
agent-setup is a skill published in the GitHub repository kimsanguine/hplan (2 stars, last pushed 18d ago), licensed MIT. It adds 87 tokens to every session and 3,365 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
claude-md-improver
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…
agent-platform-model-registry
Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.
comet-github
将 Comet GitHub 维护请求路由到基于证据的 PR 审阅、Issue 分诊、本地想法收集、CI 诊断或 Issue 实施流程。用户提到 Comet GitHub Issue/PR 但未指定流程,或询问下一步如何处理时使用。.
atlas-obscura
Search Atlas Obscura for weird, wonderful, and hidden gem places near any destination. Find the interesting stuff, not boring plaques. Search by coordinates, get full details with descriptions and images.