infrastructure-project

infrastructure-project is a skill for Claude Code, Codex from docxology/template. It costs 40 tokens per session (910 once invoked), scanned A, original, Apache-2.0.

A project-management module for finding projects in a repository, checking their folder structure, and reading metadata from configuration files. A repository is a code workspace that can contain one or more projects.

In plain words
What is it for?
Discovering projects, verifying source and test directories, and reading titles, versions, and authors from project configuration.
Why use it?
It avoids manually locating projects or checking whether required folders and project details are present.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/pipeline/stage_03_render.py --project working/{name}.

Good fit Discovering projects, verifying source and test directories, and reading titles, versions, and authors from project configuration.

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/docxology/template
agentmods
npx agentmods add skills/docxology/template/project

Made for: Claude Code, Codex.

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 infrastructure-project

README.md
[![agentmods](https://agentmods.dev/badge/skills/docxology/template/project/github.svg)](https://agentmods.dev/skills/docxology/template/project)
Your own site
<a href="https://agentmods.dev/skills/docxology/template/project"><img src="https://agentmods.dev/badge/skills/docxology/template/project/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 infrastructure-project

Your own site · 80×15
<a href="https://agentmods.dev/skills/docxology/template/project"><img src="https://agentmods.dev/badge/skills/docxology/template/project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 910 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.00040 $0.00910
Opus 5.5 $0.00016 $0.00364
Sonnet 5.5 $0.00008 $0.00182
Haiku 4.5 $0.00004 $0.00091

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

Security

Grade A, and why

infrastructure-project 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 52 executable files (__init__.py, acceptance_fixture_preparation.py, acceptance_payload.py, …), 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.

infrastructure/project/SKILL.md · 137 lines

How it starts

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

Project Module

Multi-project discovery, validation, and metadata management.

Project Discovery (discovery.py)

from infrastructure.project import discover_projects, ProjectInfo

# Discover all valid projects in the repository
projects = discover_projects(repo_root)

for project in projects:
    print(f"{project.name}: {project.path}")
    print(f"  Has tests: {project.has_tests}")
    print(f"  Has manuscript: {project.has_manuscript}")

Structure Validation

from infrastructure.project import validate_project_structure

# Validate that a project has all required directories
is_valid, message = validate_project_structure(project_path)

Required directories:

  • src/ — Project source code
  • tests/ — Test suite

Optional (recommended) directories:

  • scripts/ — Analysis scripts (thin orchestrators)
  • manuscript/ — Markdown manuscript sections

Metadata Extraction

from infrastructure.project import get_project_metadata

# Extract project metadata from pyproject.toml and/or manuscript/config.yaml
metadata = get_project_metadata(project_path)
print(metadata.get("title"), metadata["version"], metadata["authors"])

Optional CodeGraph Helpers

CodeGraph is a local-only agent navigation index. Use these helpers to print safe commands and verify that a template-root index did not include private symlinked projects:

from pathlib import Path
from infrastructure.project import build_codegraph_init_command, verify_codegraph_scope_payload

print(build_codegraph_init_command(Path(".")).display)
offenders = verify_codegraph_scope_payload(codegraph_files_json)

The index directory .codegraph/ is generated local state and must remain untracked.

Rendered vs Non-Rendered Subfolders

  • Rendered: projects/templates/ (public exemplars) and optional projects/active/ (hot-seat) — discovered and executed by infrastructure when present.
  • Non-rendered: projects/working/, optional projects/ongoing/, and projects/archive/ are preserved for explicit qualified commands and excluded from default discovery.

Read the full file on GitHub · 137 lines

Files

What ships with it

60 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 Changed 1e56f2f4d7fb
  2. 1mo ago First seen · 137 lines · 40 tokens per session scan A 1643edeafa2d

Subscribe to this mod's changes

infrastructure-project is a skill published in the GitHub repository docxology/template (20 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 910 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

construction-trades-supervisor

Use when a task needs the judgment of a Construction Trades Supervisor (foreman) — allocating a crew's daily task assignments against a labor-unit budget, deciding whether today's scope requires a formally designated OSHA competent person, arbitrating a trade-sequencing conflict between crews needing the same physical…

wonsukchoi/domain-experts · 87 tokens

architectural-engineering-manager

Use when a task needs the judgment of an Architecture/Engineering firm or department manager — pricing a project fee (lump sum vs. hourly vs. % of construction cost), staffing a project against backlog, evaluating scope creep on a fixed-fee job, managing professional liability exposure, or deciding whether to pursue a…

wonsukchoi/domain-experts · 73 tokens

biomass-power-plant-manager

Use when a task needs the judgment of a Biomass Power Plant Manager — running a biomass-fired power generation facility, managing fuel supply logistics and quality variability, evaluating combustion/efficiency problems, or balancing generation output against fuel cost and emissions constraints.

wonsukchoi/domain-experts · 57 tokens

chief-executive

Use when a task needs the judgment of a CEO/chief executive — setting company strategy, allocating scarce resources (capital, headcount, attention) across competing priorities, making a call that only the top of the org can make, or communicating direction to the board, investors, or the whole company.

wonsukchoi/domain-experts · 65 tokens

clinical-research-coordinator

Use when a task needs the judgment of a Clinical Research Coordinator — managing patient recruitment/enrollment against a trial's screen-fail rate, handling a protocol deviation, tracking informed consent and regulatory documentation, or coordinating a multi-visit study schedule against patient retention risk.

wonsukchoi/domain-experts · 58 tokens

compensation-benefits-manager

Use when a task needs the judgment of a Compensation and Benefits Manager — designing or evaluating a pay structure/leveling system, benchmarking compensation against market, deciding on a benefits package tradeoff, or auditing for pay equity issues. Narrower and more specialized than the broader hr-people-manager…

wonsukchoi/domain-experts · 72 tokens