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 joonlab/joonlab-claudecode-setting-for-share --skill goal-prompt-buildergit clone --depth 1 https://github.com/joonlab/joonlab-claudecode-setting-for-shareWrote 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/joonlab/joonlab-claudecode-setting-for-share/goal-prompt-builder)<a href="https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/goal-prompt-builder"><img src="https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/goal-prompt-builder/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/joonlab/joonlab-claudecode-setting-for-share/goal-prompt-builder"><img src="https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/goal-prompt-builder.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.00422 | $0.02948 |
| Opus 5.5 | $0.00169 | $0.01179 |
| Sonnet 5.5 | $0.00084 | $0.00590 |
| Haiku 4.5 | $0.00042 | $0.00295 |
Grade A, and why
goal-prompt-builder 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 3mo 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 — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Goal Prompt Builder
Claude Code 네이티브 /goal 기능에 넣을 완료 조건을 설계해 주는 스킬이다. (공식 정본: https://code.claude.com/docs/en/goal — 자세한 검증 사실과 출처는 references/goal-mechanics.md 참고)
왜 이 스킬이 필요한가
/goal <조건>을 걸면 Claude가 매 턴 끝마다 그 조건이 충족됐는지 평가받고, 충족될 때까지 사용자 프롬프트 없이 며칠이고 계속 작업한다. 강력한 만큼 양날의 검이다.
- 좋은 조건을 넣으면 복잡한 작업이 무인으로 끝까지 완수된다.
- 나쁜 조건(주관적이거나, Claude의 출력만으로 증명할 수 없는 조건)을 넣으면 평가자가 영영 "미달성"으로 봐 무한 루프에 빠지거나, 반대로 Claude가 "다 됐다"고 요약만 해도 통과되어 겉만 그럴듯한 헛결과가 나온다.
좋은 완료 조건을 사람이 처음부터 정확히 쓰기는 어렵다. 그래서 **클로드에게 조건 자체를 설계하게 하는 것(메타 프롬프팅)**이 정석이고, 이 스킬이 그 과정을 표준화한다.
/goal이 실제로 어떻게 작동하는가 (이 한 가지는 꼭 기억)
조건을 평가하는 것은 **작고 빠른 모델(기본 Haiku)**이며, 이 평가자는 도구를 실행하거나 파일을 직접 읽지 않는다. 오직 "대화에 드러난 것(transcript)"만 보고 판정한다.
여기서 이 스킬의 모든 설계가 따라 나온다: 완료 조건은 Claude 자신의 출력으로 증명할 수 있는 형태여야 한다. 즉 "테스트가 통과한다"가 아니라 "Claude가 npm test를 실제로 실행하고 그 결과(exit 0)를 대화에 보여준다"가 되어야 한다. 평가자는 Claude가 보여준 것만 믿는다.
언제 작동하는가 / 제외
- 작동: 어떤 작업을
/goal로 무인 완수시키고 싶다는 요청·의도. 장기·복잡·고검증 작업. - 제외:
/goal이 무엇인지 묻는 설명 질문, 이미 걸린 루프를 푸는 트러블슈팅(/goal clear). 또 한 번에 끝나는 단발 작업은 골이 과하니 더 가벼운 방식을 권한다.
워크플로우
1단계 — 작업 의도 파악
사용자의 고수준 작업을 듣는다. 대화에 이미 맥락이 충분하면 그것을 우선 활용한다(불필요하게 다시 묻지 말 것). 다음을 머릿속에 둔다: "이 작업이 '끝났다'를 무엇으로 판정하는가? 그 판정을 Claude가 자기 출력으로 어떻게 보여줄 수 있는가?"
2단계 — 대화형 정제 (측정 가능한 종료 상태로 좁히기)
작업을 측정 가능한 단일 종료 상태로 좁히는 데 필요한 정보가 빠졌으면 AskUserQuestion으로 핵심만 되묻는다. 특히 다음을 확인한다.
- 무엇이 충족되면 끝인가? (테스트 통과 / 빌드 성공 / 파일 N개 / 큐 비움 / 모든 호출부 마이그레이션 등)
- 그걸 어떤 명령·검사로 증명할 수 있는가? (
npm testexit 0,git statusclean 등) - 가는 길에 바뀌면 안 되는 것은? (다른 테스트 파일 수정 금지, API 계약 유지 등)
- 무인으로 돌릴 거라면 턴/시간 상한은? (
or stop after 20 turns)
한 번에 2~4개만, 결과를 좌우하는 것만 묻는다. "알아서 해줘"라면 합리적 가정을 명시하고 진행한다.
3단계 — 완료 조건 3요소 구성
공식 가이드의 좋은 조건 = 다음 3요소를 자연어 한 문장(필요시 여러 절)으로 결합한 것. 무인 실행이면 턴 절을 더한다.
- 측정 가능한 종료 상태 — test result / build exit code / file count / empty queue 등
- 명시적 검증 방법(stated check) — Claude가 어떻게 증명할지 ("
npm testexits 0", "git statusis clean") - 지켜야 할 제약 — 도중에 바뀌면 안 되는 것 ("no other test file is modified")
- (무인 실행 시) 턴/시간 상한 — "or stop after N turns" (
/goal엔 내장 토큰 예산이 없다)
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.
- 3mo ago First seen · 132 lines · 422 tokens per session scan A 7d13548351ab
goal-prompt-builder is a skill published in the GitHub repository joonlab/joonlab-claudecode-setting-for-share (15 stars, last pushed 5d ago), licensed MIT. It adds 422 tokens to every session and 2,948 once invoked, about $0.0017 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-08-31.
goal-prompt-builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| goal-prompt-builderjoonlab/joonlab-claudecode-setting-for-share | Skill | 15 | 5d ago | MIT | A | 422 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 331k | 4d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |