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 scroogy-dev/scroogy-agent-skills --skill context-harvestgit clone --depth 1 https://github.com/scroogy-dev/scroogy-agent-skillsWrote 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/scroogy-dev/scroogy-agent-skills/context-harvest)<a href="https://agentmods.dev/skills/scroogy-dev/scroogy-agent-skills/context-harvest"><img src="https://agentmods.dev/badge/skills/scroogy-dev/scroogy-agent-skills/context-harvest/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/scroogy-dev/scroogy-agent-skills/context-harvest"><img src="https://agentmods.dev/badge/skills/scroogy-dev/scroogy-agent-skills/context-harvest.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.00095 | $0.03921 |
| Opus 5.5 | $0.00038 | $0.01568 |
| Sonnet 5.5 | $0.00019 | $0.00784 |
| Haiku 4.5 | $0.00010 | $0.00392 |
Grade A, and why
context-harvest 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 7d 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 — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.
개요
소스코드 바깥에 존재하는 What(계약, 명세)과 Why(정책, 의사결정)를 외부 소스에서 수집·증류하여 .ai/30_contract/, .ai/40_domain/, .ai/50_adr/ 문서로 만드는 스킬입니다.
code-map과의 관계
code-map과 context-harvest는 쌍을 이루는 스킬입니다.
| 스킬 | 역할 | 대상 영역 |
|---|---|---|
code-map |
SSoT 색인(소스코드 How 또는 원본 문서 파일 지도) | 60_codebase/ |
context-harvest |
소스코드 바깥의 What + Why를 수집·증류 | 30_contract/, 40_domain/, 50_adr/ |
/context-harvest → 30_contract/, 40_domain/, 50_adr/ 문서 생성
/code-map --local sync → 새로 생긴 30/40/50 문서를 60_codebase/에서 교차 참조 연결
관련 skill
- ai-workspace (권장):
.ai/디렉토리 구조를 활용합니다. 없으면 필요한 디렉토리를 직접 생성합니다. - code-map (연동): 이 스킬이 생성한 30/40/50 문서를
60_codebase/에서 교차 참조로 연결합니다.
참조 문서
- 공통 규칙:
.ai/10_rules/context-loading.md— 있으면 따르며, 이미 적재되어 있으면 재로딩하지 않습니다. - 스킬 고유 추가 참조:
- 기존
.ai/30_contract/,.ai/40_domain/,.ai/50_adr/문서의 프론트매터 — 증분 수집 판정(last_harvested비교) .ai/10_rules/writing-principles.md·.ai/10_rules/writing-principles-local.md— 있으면 산출물 작성 원칙으로 참조 (충돌 시 local 우선; 없으면 본문의 "산출물 접기 기준"이 기본값)
- 기존
핵심 원칙
SSoT 원칙 유지
- SSoT는
AI-CONTEXT.md본문 2번째 줄(H1 제목과 그 뒤 빈 줄 제외)의> SSoT: <값>.선언을 따른다. 값은소스 코드또는원본 문서(## 프로젝트 도메인표ssot_dir아래.md파일. 다른 확장자·첨부의 분류는 repo 문서 규약 파일(.ai/10_rules/document-convention.md)이 정한다)이며 그 외 값은 선언으로 보지 않는다. 선언을 찾지 못하면 소스 코드를 SSoT로 본다.AI-CONTEXT.md는 있는데 선언을 찾지 못해 소스 코드로 진행하면 그 사실을 사용자에게 한 줄로 알리고,ai-workspaceupdate로 선언을 보강할 수 있다고 안내한다.AI-CONTEXT.md가 없으면 알리지 않는다. - 이 스킬이 수집하는 정보는 **SSoT에 반영된 사실의 계약/명세(What)와 배경/근거(Why)**이다. 선언이 원본 문서이면
ssot_dir아래 문서에 반영된 사실이 대상이다. - 산출물은
.ai/내부 문서이며, 외부 URL은 문서 내 "원본 출처" 섹션에만 기재한다. - SSoT에 대응하지 않는 정보(기각된 제안, 미구현 요청 등)는 수집하지 않는다.
- 퍼블리싱 사본(SSoT에서 파생해 위키·블로그·PDF 등으로 내보낸 사본)은 출처가 아니므로 수집하지 않는다.
## 프로젝트 도메인표publish행에 적힌 위치 아래 자료는 판단 없이 제외한다. 이 행이 없거나 URL이 없는 매체는 "SSoT 내용을 내보낸 사본은 출처로 인용하지 않고 repo 문서를 링크한다"로 판단한다. 판정 기준은 자료의 유래(SSoT에서 파생했는지)이며, 위키·블로그에 있어도 SSoT에서 파생하지 않은 자료는 출처로 수집한다.
증류 원칙
- 외부 소스의 원문을 그대로 복사하지 않는다.
- 핵심 결정/정책/근거만 추출하여 간결한 마크다운으로 증류한다.
- 고객 정보, 개인정보가 포함된 내용은 제거하고 증류한다.
What ships with it
13 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.
- templates/30_contract-template.md 360 B
- templates/40_domain-template.md 741 B
- templates/50_adr-template.md 769 B
- tests/fixtures/collect-filter/dev-source.expected.md 672 B
- tests/fixtures/collect-filter/dev-source.input.md 1.2 KB
- tests/fixtures/collect-filter/doc-no-publish.expected.md 945 B
- tests/fixtures/collect-filter/doc-no-publish.input.md 1.1 KB
- tests/fixtures/collect-filter/doc-publish.expected.md 881 B
- tests/fixtures/collect-filter/doc-publish.input.md 1.4 KB
- tests/fixtures/collect-filter/invalid-declaration.expected.md 804 B
- tests/fixtures/collect-filter/invalid-declaration.input.md 1.1 KB
- tests/fixtures/collect-filter/README.md 2.2 KB
- tests/run-tests.sh 16 KB runs code
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.
- 7d ago Changed 3af3a0a141e7
- 9d ago Changed · +4 lines 02416a72fb90
- 11d ago Changed · +3 lines 54c4f1cccfe2
- 2mo ago First seen · 263 lines · 95 tokens per session scan A 72c06289216e
context-harvest is a skill published in the GitHub repository scroogy-dev/scroogy-agent-skills (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 95 tokens to every session and 3,921 once invoked, about $0.0004 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.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…