Index of every page on this site: llms.txt
All skills
vicnaum avatar

/init-context

@cc33127
Run it yourself

Build a complete mental map of a project through phased exploration so you can work effectively without rediscovering things. Use when the user wants to: (1) Onboard onto a new or unfamiliar codebase, (2) Get a full project overview or briefing, (3) Understand project architecture, structure, and open work, (4) Initialize context at the start of a deep work session, (5) Explore and summarize a repository end-to-end. Triggers on requests like "explore this repo", "get familiar with this project", "give me a project overview", "onboard me", "init context", or any request to deeply understand a codebase before working on it.

  • 1 file
  • 3.7 KB
  • Updated 9 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/vicnaum/vics-agent-skills/init-context

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈161 tokens for metadata: the name and description. ≈778 when used: this file.

Description uses 8.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈644 characters, or 8.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Build a complete mental map of this project so you can work effectively without rediscovering things. Follow these phases:

Phase 1: Direct Reading (your own context)

Find and read key documentation files directly — do NOT delegate these, you need them in YOUR context:

  • Look for root-level markdown files: README, STATUS, CHANGELOG, CONTRIBUTING, ARCHITECTURE, ROADMAP, REFERENCE, WORKLOG, and any project-specific docs (CLAUDE.md, AGENTS.md, etc.)
  • Look for a CLAUDE.md or similar agent instruction file
  • Check for a .claude/ directory with project config or memory files
  • If the codebase is large - use a sub-agent with a layered-summary skill for the code sources folder to generate (or update, if exists) the AGENTS.md summaries

Phase 2: Sub-agent Exploration (parallel)

Based on what you learned in Phase 1, spawn sub-agents to explore the major areas of the codebase. Each agent should read all documentation files in its area, skim key source files, and return a structured summary of: what's there, how it works, key decisions, and where to look for what.

Typical areas to explore (adapt based on actual project structure):

  • Each major source directory — architecture, key modules, entry points, important types/interfaces
  • Tests & CI — test structure, CI config, how to run tests
  • Config & Infrastructure — deployment configs, environment setup, docker files, scripts
  • Documentation subdirectories — any docs/, wiki/, knowledge-base/, research/, or analysis/ folders
  • GitHub/GitLab history — previous commits list, closed PRs, closed Issues (using gh if available)
  • GitHub/GitLab current state — open issues, open PRs, recent commits and activity (gh issue list, gh pr list if available)

Adjust the number and focus of sub-agents based on project size. Small project = 2-3 agents. Large monorepo = 5-6 agents, iterative.

Phase 3: Fill Gaps

After receiving all sub-agent summaries, identify gaps in your understanding:

  • Are there key source files referenced in docs that you haven't seen?
  • Is the data flow / request lifecycle clear end-to-end?
  • Do you understand how to build, test, and run the project?
  • Is there anything that you're still missing and need to see?
  • Spawn additional sub-agents or read files yourself as needed
  • Check recent git log (git log --oneline -20) for context on latest changes

Phase 4: Synthesize

Provide a concise project briefing covering:

  • Project overview: What is this? What problem does it solve?
  • Current state: What phase/version? What works? What's in progress?
  • Architecture map: How the major pieces fit together, data flow, key abstractions
  • Open work: Issues, PRs, blockers, next steps
  • Key numbers: Any important metrics, benchmarks, or thresholds
  • Developer guide: How to build, test, run. Key commands.
  • Where to find things: Quick reference for common lookups (config, entry points, types, tests)

The goal: after this runs, you should have FULL project context and never need to ask "where is X?" or "what does Y do?" for the common cases.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at cc33127. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 6 days ago.

Activeupdated 9 months ago

README badge

README badge for vicnaum/vics-agent-skills/init-context