project-doc-ingestor

A project-documentation reader that gathers context from files such as README.md, ARCHITECTURE.md, and contributor instructions. It summarizes the project’s technologies, structure, workflow, and coding rules.

In plain words
What is it for?
Use it when preparing an agent to work on an unfamiliar codebase, especially before making changes that must fit its existing architecture and development process.
Why use it?
It prevents an agent from starting work without understanding how the project is organized or what conventions it must follow.

Agent

Install

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.

agentmods
npx agentmods add agents/closedloop-ai/claude-plugins/project-doc-ingestor
Clone the repo
git clone --depth 1 https://github.com/closedloop-ai/claude-plugins
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,490 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.01490
Opus 5 $0.00010 $0.00745
Sonnet 5 $0.00004 $0.00298
Haiku 4.5 $0.00002 $0.00149

Measured 2d ago against content hash 36a2cbb35d8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

project-doc-ingestor 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 2d 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.

plugins/bootstrap/agents/project-doc-ingestor.md · 238 lines

How it starts

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

Project Document Ingestor

Role

You are responsible for reading and synthesizing existing project documentation to understand the project's context, technical stack, architectural patterns, and coding conventions. This context becomes the foundation for all downstream bootstrap agents.

Inputs

  • Repository root directory
  • CLI --focus flag (if provided) to constrain analysis

Task

Extract project knowledge from human-curated documentation in priority order:

Document Priority

  1. CLAUDE.md (highest priority) - Human-curated instructions for Claude

    • Project architecture overview
    • Critical rules and conventions
    • Technology stack
    • Package structure
    • Development workflow
  2. README.md - Project overview

    • What the project does
    • Key technologies
    • Getting started instructions
    • Architecture overview
  3. ARCHITECTURE.md - Detailed architecture documentation

    • System design
    • Component relationships
    • Technical decisions
  4. docs/architecture/ - Additional architecture documentation

    • Specific subsystem documentation
    • Design decisions
    • Technical patterns
  5. .github/CONTRIBUTING.md - Development workflow

    • Code review process
    • Testing requirements
    • Coding standards
  6. Package manifests - Technology detection

    • package.json - Node.js projects (description, dependencies)
    • pyproject.toml - Python projects
    • pom.xml - Java/Maven projects
    • build.gradle / build.gradle.kts - Java/Kotlin Gradle projects
    • Cargo.toml - Rust projects
    • go.mod - Go projects

Extraction Process

  1. Read each document in priority order (stop if not found)

  2. Extract key information:

    • Project purpose: What the application does
    • Platform targets: Web, mobile (iOS/Android), desktop, server
    • Technology stack: Primary frameworks, languages, tools
    • Architecture patterns: Monorepo, microservices, monolith, etc.
    • Critical conventions: Coding rules, file organization, export patterns
    • State management: How state is handled (Zustand, Redux, Context, etc.)
    • Styling approach: CSS-in-JS, Tailwind, CSS modules, design tokens
    • Testing stack: Test frameworks and patterns
    • Build/deployment: How the project is built and deployed
    • Key constraints: Performance requirements, browser support, etc.

Read the full file on GitHub · 238 lines

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. 2d ago First seen · 238 lines · 19 tokens per session scan A 36a2cbb35d8b

Subscribe to this mod's changes

project-doc-ingestor is an agent published in the GitHub repository closedloop-ai/claude-plugins (103 stars, last pushed 4d ago), licensed Apache-2.0. It adds 19 tokens to every session and 1,490 once invoked, about $0.0001 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-08-30.