Agent skill

Repo Intake

by sd0xdev in sd0xdev/sd0x-harness

Project initialization inventory (one-time). An agent skill from sd0xdev/sd0x-harness.

MITAuto-check passedDevelopment

Install Repo Intake

skills CLI
$ npx skills add sd0xdev/sd0x-harness --skill repo-intake -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sd0xdev/sd0x-harness repo-intake --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sd0xdev/sd0x-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/repo-intake .claude/skills/repo-intake && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
repo-intake
GitHub stars
192
Token cost
~929 tokens
SKILL.md length
203 words
Files
7 (incl. scripts, references)
Skills in repo
89
Repo updated
First seen
Licence
MIT

At a glance

Project initialization inventory (one-time). An agent skill from sd0xdev/sd0x-harness.

  • : first onboarding a project
  • SKILL.md covers When to Use, When NOT to Use, Workflow and Usage, plus 7 more sections
  • Runs JavaScript scripts from its folder; calls bash
  • Rebuilding cache after structural changes

What it does

Repo Intake is an agent skill from sd0xdev/sd0x-harness. Project initialization inventory (one-time). Use when: first onboarding a project, rebuilding cache after structural changes. Not for: day-to-day development (read cache directly), finding specific files (use code-explore). Output: project map with entrypoints + test map + next steps.

Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `references/archived/MIDWAY_HEURISTICS.md`, `references/manifest-map.md` and `scripts/intake_cached.js`).

It sits in Development. The repository describes itself as: The harness layer for Claude Code — a reference implementation of harness engineering with hook-enforced dual review, state-machine gates that survive context compaction, and… The licence is MIT.

When your agent uses it

  • : first onboarding a project
  • Rebuilding cache after structural changes

Example prompts

  • “/repo-intake”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Bash(git:*), Bash(node:*), Read, Write, Grep, Glob

What it can do on your machine

Read from SKILL.md and the folder at commit a4d4bc1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(git:*)
    • Bash(node:*)
    • Read
    • Write
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Repo Intake loads about 929 tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 74 tokens; SKILL.md has 203 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~74
When it runs · the whole SKILL.md, loaded when a task matches
~929
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from sd0xdev/sd0x-harness at commit a4d4bc1, republished under its MIT licence (© sd0xdev). 203 words, ~929 tokens.

Download SKILL.mdSave it as .claude/skills/repo-intake/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
repo-intake
description
Project initialization inventory (one-time). Use when: first onboarding a project, rebuilding cache after structural changes. Not for: day-to-day development (read cache directly), finding specific files (use code-explore). Output: project map with entrypoints + test map + next steps.
allowed-tools
Bash(git:*), Bash(node:*), Read, Write, Grep, Glob
context
fork
agent
Explore
disable-model-invocation
true

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
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
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 Nmd 清單截斷(預設 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.json 的 manifest_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>/

FileDescription
latest.mdLatest scan results
latest.jsonLatest scan results (JSON)
LATEST.jsonCache metadata

Output

markdown
## Overview

<summary>

## Entrypoints

- {CONFIG_FILE}
- {BOOTSTRAP_FILE}

## Test Map

| Type        | Pattern           |
| ----------- | ----------------- |
| Unit        | test/unit/        |
| Integration | test/integration/ |
| E2E         | test/e2e/         |

## Next Steps

- <questions>

Verification

  • Output includes Overview, Entrypoints, Test Map, Next Steps
  • Entrypoints correctly identify {CONFIG_FILE}, {BOOTSTRAP_FILE}
  • Test Map covers Unit/Integration/E2E layers

References

  • references/manifest-map.md — Manifest map 資料模型、解析矩陣、凍結契約摘要
  • references/archived/MIDWAY_HEURISTICS.md — Legacy MidwayJS heuristics (archived, for reference only)

Scripts

ScriptPurpose
scripts/intake_cached.jsMain intake with caching
scripts/scan_repo.jsFull repo scanner (framework-agnostic)
scripts/scan_delta.jsDelta scan for changed files
scripts/manifest_map.jsWorkspace 拓撲 + 宣告依賴圖(overview / reverse / cycles)

Examples

Input: /repo-intake
Action: Execute intake script -> Output project map
Input: /repo-intake save
Action: Execute intake script -> Output and write to docs/ai/intake/

© sd0xdev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in skills/repo-intake of sd0xdev/sd0x-harness.

  • SKILL.md
  • references/archived/MIDWAY_HEURISTICS.md
  • references/manifest-map.md
  • scripts/intake_cached.js
  • scripts/manifest_map.js
  • scripts/scan_delta.js
  • scripts/scan_repo.js

Open the folder on GitHubat commit a4d4bc1

Compare with similar skills

Repo Intake next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Repo Intake compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Repo Intake this skillsd0xdev/sd0x-harness192—~929Automated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from sd0xdev/sd0x-harness

All 89 skills in this repo
  • Adr

    sd0xdev/sd0x-harness

    Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as docs/features/<feature/adr-<NNN-<title.md with a 3-digit zero-padded…

    192 GitHub stars~4.8k tokensUpdated yesterday
    Auto-check passed
  • Load PR Review

    sd0xdev/sd0x-harness

    Load GitHub PR review comments into AI session — analyze, triage, plan.

    192 GitHub stars~4.4k tokensUpdated yesterday
    Auto-check passed
  • Next Step

    sd0xdev/sd0x-harness

    Change-aware next step advisor. An agent skill from sd0xdev/sd0x-harness.

    192 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Obsidian CLI

    sd0xdev/sd0x-harness

    Obsidian vault integration via official CLI. An agent skill from sd0xdev/sd0x-harness.

    192 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Orchestrate

    sd0xdev/sd0x-harness

    Agent-driven workflow orchestration (v1 report-only). An agent skill from sd0xdev/sd0x-harness.

    192 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • PR Comment

    sd0xdev/sd0x-harness

    Post friendly review comments to a GitHub PR — prepare locally, preview, then submit as atomic review.

    192 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Repo Intake

What does Repo Intake do?

Project initialization inventory (one-time). An agent skill from sd0xdev/sd0x-harness. Repo Intake is an agent skill from sd0xdev/sd0x-harness. Project initialization inventory (one-time).

When should I use Repo Intake?

Repo Intake fits situations like: : first onboarding a project; rebuilding cache after structural changes.

How do I install Repo Intake in Claude Code?

Run `npx skills add sd0xdev/sd0x-harness --skill repo-intake -a claude-code`. Or copy the skill folder (skills/repo-intake in sd0xdev/sd0x-harness) into .claude/skills/repo-intake in your project. Claude Code loads it when a task matches its description.

How do I install Repo Intake in Codex?

Run `npx skills add sd0xdev/sd0x-harness --skill repo-intake -a codex`. Or copy the skill folder (skills/repo-intake in sd0xdev/sd0x-harness) into .agents/skills/repo-intake in your project. Codex loads it when a task matches its description.

Can I use Repo Intake in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sd0xdev/sd0x-harness --skill repo-intake -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repo-intake, .gemini/skills/repo-intake, .github/skills/repo-intake and .opencode/skills/repo-intake in your project.

What does Repo Intake need to run?

Going by SKILL.md and its folder, Repo Intake needs JavaScript for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Bash(git:*), Bash(node:*), Read, Write, Grep, Glob.

Does Repo Intake access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Repo Intake safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Repo Intake use?

Repo Intake is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Repo Intake use?

About 929 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.

What are the alternatives to Repo Intake?

Skills that share tags, products or a category with Repo Intake: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Repo Intake?

sd0xdev (a GitHub user) maintains it in sd0xdev/sd0x-harness, which has 192 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 8, 2026.

Source: sd0xdev/sd0x-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.