repo-intake

repo-intake is a skill for Claude Code from sd0xdev/sd0x-harness. It costs 60 tokens per session (1,120 once invoked), scanned A, original, MIT.

A one-time project inventory tool that maps a repository’s structure, entry points, and tests. A monorepo is a single repository containing multiple related packages or projects.

In plain words
What is it for?
Use it when first onboarding a project, refreshing its structure cache, or inspecting package dependencies and test coverage.
Why use it?
It gives an agent a starting map of an unfamiliar codebase and can rebuild that map after major structural changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/run-skill.sh repo-intake intake_cached.js --mode auto --top 10.

Part of the sd0x-dev-flow plugin — 98 skills, 16 agents, 5 hooks shipped together

Good fit Use it when first onboarding a project, refreshing its structure cache, or inspecting package dependencies and test coverage.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/sd0xdev/sd0x-harness
agentmods
npx agentmods add skills/sd0xdev/sd0x-harness/repo-intake

Made for: Claude Code.

Or install sd0x-dev-flow, the plugin that ships this one along with the rest of its 98 skills, 16 agents, 5 hooks.

Wrote 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.

agentmods badge for repo-intake

README.md
[![agentmods](https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/repo-intake/github.svg)](https://agentmods.dev/skills/sd0xdev/sd0x-harness/repo-intake)
Your own site
<a href="https://agentmods.dev/skills/sd0xdev/sd0x-harness/repo-intake"><img src="https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/repo-intake/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.

agentmods 80×15 button for repo-intake

Your own site · 80×15
<a href="https://agentmods.dev/skills/sd0xdev/sd0x-harness/repo-intake"><img src="https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/repo-intake.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,120 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.01120
Opus 5 $0.00030 $0.00560
Sonnet 5 $0.00012 $0.00224
Haiku 4.5 $0.00006 $0.00112

Measured 6d ago against content hash d8467dd277d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

repo-intake 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 6d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/intake_cached.js, scripts/manifest_map.js, scripts/scan_delta.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/repo-intake/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Repo Intake

When to Use

  • First time onboarding a project
  • Rebuilding cache after major project structural changes
  • Cache expired, needs updating

When NOT to Use

  • Already familiar with project structure (read cache directly)
  • Only need to find specific files (use Glob/Grep)
  • Day-to-day development (cache already exists)

Workflow

Docs -> Entrypoints -> Tests Map -> Next Steps

Usage

bash scripts/run-skill.sh repo-intake intake_cached.js --mode auto --top 10

Manifest Map(宣告依賴地圖)

Monorepo / multi-package repo 的 workspace 拓撲與宣告依賴圖。邊語義是 declares_dependency——manifest 裡寫了什麼,不證明 import、呼叫或 runtime 影響。 一律 fail-closed:整份檔案無法讀取/UTF-8 解碼、或 JSON document 無法解析則記 coverage skipped;已進入 Go/TOML recognizer 的相關不支援 construct 則記 partial。絕不產生猜測邊。

bash scripts/run-skill.sh repo-intake manifest_map.js                      # overview (md)
bash scripts/run-skill.sh repo-intake manifest_map.js --format json        # 完整 envelope
bash scripts/run-skill.sh repo-intake manifest_map.js --reverse <selector> # 誰宣告依賴它
bash scripts/run-skill.sh repo-intake manifest_map.js --cycles             # 宣告環偵測
Flag 說明
--format md|json 預設 md;json 為完整 artifact,不受 --top 截斷
--top N md 清單截斷(預設 12)
--reverse <sel> selector:節點 ID(ws:node:packages/a)或名稱(node:lodash / lodash);多重匹配 exit 2 並列出候選
--cycles --reverse 互斥
--include-candidates 把未經 controller 確認的 candidate workspace 納入架構節點集(預設排除)

生態系:node / php / go / rust / python(辨識 manifest 見 scripts/config/repo-intake.jsonmanifest_map 段)。無效參數 exit 2。 資料模型、解析矩陣與凍結語法契約:references/manifest-map.md;完整規格: docs/features/repo-intake-manifest-map/2-tech-spec.md

Cache Location

Cache stored at: ~/.claude/cache/repo-intake/<repoKey>/

File Description
latest.md Latest scan results
latest.json Latest scan results (JSON)
LATEST.json Cache metadata

Read the full file on GitHub · 130 lines

Files

What ships with it

6 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.

Changes

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.

  1. 6d ago First seen · 130 lines · 60 tokens per session scan A d8467dd277d5

Subscribe to this mod's changes

repo-intake is a skill published in the GitHub repository sd0xdev/sd0x-harness (188 stars, last pushed 4d ago), licensed MIT. It adds 60 tokens to every session and 1,120 once invoked, about $0.0003 per session on Opus 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-03.

Related

Other skills, from other repositories