deepwiki-rs: Skill for Claude Code

.agents/skills/codegraph-skill/SKILL.md

codegraph-skill is a skill for Claude Code, Codex from sopaco/deepwiki-rs. It costs 32 tokens per session (1,164 once invoked), scanned A, original, MIT.

A guide to assembling the data, code, and documentation package for an AEJ: Economic Policy paper. A replication package is the material another researcher uses to reproduce the paper's tables, charts, and reported numbers.

In plain words
What is it for?
Use it to organize an openICPSR deposit, write the README and data-availability statement, include scripts that regenerate results, and document restricted-data access paths. It prepares the package but does not run the analysis.
Why use it?
It helps meet the American Economic Association's data and code policy and prepare for the journal's reproducibility check. It also addresses how to document and provide access to data that cannot be openly shared.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is sopaco/deepwiki-rs's own configuration. It tells Claude Code and Codex how to work on deepwiki-rs itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything deepwiki-rs configures →

About the project

Litho is a Rust-based AI documentation generator that analyzes a codebase and produces architecture documentation in the C4 model format. Developers, architects, and technical leads use it to create and maintain diagrams and code-level documentation, while the catalogue provides skills for working with the project.

sopaco/deepwiki-rs · 3,143 stars · on GitHub · deepwiki.netlify.app

Reuse

Borrowing it

Nothing to install: this file belongs to sopaco/deepwiki-rs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sopaco/deepwiki-rs/main/.agents/skills/codegraph-skill/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sopaco/deepwiki-rs

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 codegraph-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/sopaco/deepwiki-rs/codegraph-skill/github.svg)](https://agentmods.dev/skills/sopaco/deepwiki-rs/codegraph-skill)
Your own site
<a href="https://agentmods.dev/skills/sopaco/deepwiki-rs/codegraph-skill"><img src="https://agentmods.dev/badge/skills/sopaco/deepwiki-rs/codegraph-skill/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 codegraph-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/sopaco/deepwiki-rs/codegraph-skill"><img src="https://agentmods.dev/badge/skills/sopaco/deepwiki-rs/codegraph-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,164 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.
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.00032 $0.01164
Opus 5.5 $0.00013 $0.00466
Sonnet 5.5 $0.00006 $0.00233
Haiku 4.5 $0.00003 $0.00116

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

Security

Grade A, and why

codegraph-skill 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/codegraph-skill/SKILL.md · 114 lines

How it starts

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

CodeGraph Skill

CodeGraph provides a pre-indexed AST code graph for this project.

Terrain uses CLI only — do not run codegraph install (that configures MCP/agent rules separately).

Resolve the CodeGraph command (read first)

Use conventional paths only — never machine-specific absolute paths like /Users/... or C:\Users\....

On Windows, the wrapper may be codegraph.cmd or codegraph.exe under ~/.terrain/bin/.

Priority Command When
1 ~/.terrain/bin/codegraph Terrain env integration (see existence check below)
2 bunx codegraph No Terrain install; needs network once
3 npx codegraph Same as bunx if Bun unavailable

Optional manifest (local, gitignored): .terrain/env/agent-tools.json — same ~/.terrain/bin/… conventions.

Existence check (cross-platform):

Shell Check
bash / zsh / Git Bash [ -x ~/.terrain/bin/codegraph ] || [ -f ~/.terrain/bin/codegraph.exe ] || [ -f ~/.terrain/bin/codegraph.cmd ]
PowerShell Test-Path "$HOME\.terrain\bin\codegraph*"

In examples below, <cg> means your resolved prefix (~/.terrain/bin/codegraph or bunx codegraph).

Prerequisites

The index is per-repo under .codegraph/. If missing, initialize from the repo root:

# bash / Git Bash
if [ -x ~/.terrain/bin/codegraph ] || [ -f ~/.terrain/bin/codegraph.exe ] || [ -f ~/.terrain/bin/codegraph.cmd ]; then
  ~/.terrain/bin/codegraph init -i
else
  bunx codegraph init -i
fi

Refresh after edits: <cg> sync

Health check:

<cg> status

<cg> status can lie ("up to date" when it is not). Observed case: index untouched for 10 days while 24 commits changed source files, status still reported fresh, and <cg> query on a symbol added days earlier returned nothing. Do not treat status as authoritative on its own.

CLI commands

Intent Command
Find symbol by name <cg> query <name>
Who calls X <cg> callers <symbol>
What X calls <cg> callees <symbol>
Change blast radius <cg> impact <symbol>
Tests affected by file changes <cg> affected <files…>
Project file tree <cg> files
Index health <cg> status
Refresh after edits <cg> sync

Read the full file on GitHub · 114 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. 1mo ago First seen · 114 lines · 32 tokens per session scan A e89680aa9b6d

Subscribe to this mod's changes

codegraph-skill is a skill published in the GitHub repository sopaco/deepwiki-rs (3,143 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 1,164 once invoked, about $0.0001 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-09-15.

Related

Other skills, from other repositories

vision-multimodal

A skill that adds image, video, audio, document, and screenshot understanding to a text-only model. It includes tasks such as reading text from images, locating objects, transcribing speech, and analyzing media.

Yts1919/dsh-vision-complete · 112 tokens

latex-posters

Create professional research posters in LaTeX using beamerposter, tikzposter, or baposter. Support for conference presentations, academic posters, and scientific communication. Includes layout design, color schemes, multi-column formats, figure integration, and poster-specific best practices for visual communication.

x-cmd/skill · 60 tokens

clinical-decision-support

Generate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading…

x-cmd/skill · 97 tokens

clinical-case-report

Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds"…

nexu-io/open-design · 73 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

nature-paper-trans

A workflow for translating selected pages or a complete English research-paper PDF into a simplified-Chinese, image-based PDF. bioRxiv is not mentioned in the provided details; the workflow applies to research-paper PDFs generally.

Yuan1z0825/nature-skills · 68 tokens