learn-project

learn-project is a skill for Claude Code from luiseiman/dotforge. It costs 27 tokens per session (1,991 once invoked), scanned B, original, MIT.

A project-analysis tool that scans source code, dependency files, imports, tooling, and recurring conventions to propose project-specific rules.

In plain words
What is it for?
Use it to identify dependencies and common libraries, classify the project, and draft domain rules from the codebase.
Why use it?
It bases guidance on how the code actually works instead of relying only on assumptions or manually written documentation.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: positional $N argument.

Part of the dotforge plugin — 25 skills, 25 commands, 7 agents, 8 hooks shipped together

Good fit Use it to identify dependencies and common libraries, classify the project, and draft domain rules from the codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luiseiman/dotforge/learn-project
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.

Any agent
npx skills add luiseiman/dotforge --skill learn-project
Clone the repo
git clone --depth 1 https://github.com/luiseiman/dotforge

Made for: Claude Code.

Or install dotforge, the plugin that ships this one along with the rest of its 25 skills, 25 commands, 7 agents, 8 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/luiseiman/dotforge/learn-project"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/learn-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,991 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00027 $0.01991
Opus 5.5 $0.00011 $0.00796
Sonnet 5.5 $0.00005 $0.00398
Haiku 4.5 $0.00003 $0.00199

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

Security

Grade B, and why

learn-project scanned grade B with 1 finding 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 3mo 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

- Does not run any code or install dependencies
skills/learn-project/SKILL.md · 201 lines

How it starts

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

Learn Project

Scan the current project's source code to detect patterns, classify tooling, and propose domain rules. Unlike /forge domain extract (which reads dotforge's internal memory), this skill reads the CODE directly.

Step 1: Detect dependency files

Read whichever exist (skip missing):

  • package.json — extract dependencies + devDependencies keys
  • pyproject.toml — extract [project.dependencies] and [tool.*] sections
  • requirements.txt — read all lines
  • go.mod — extract require block
  • Podfile — read all lines
  • Gemfile — read all lines
  • pom.xml / build.gradle / build.gradle.kts — extract dependency declarations

Collect a flat list of dependency names.

Step 2: Scan imports

Find the top 20 most-imported libraries across the codebase:

# Python
grep -rh "^import \|^from " --include="*.py" . 2>/dev/null | sed 's/import //;s/from //;s/ .*//' | sort | uniq -c | sort -rn | head -20

# TypeScript/JavaScript
grep -rh "from ['\"]" --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" . 2>/dev/null | sed "s/.*from ['\"]//;s/['\"].*//" | grep -v '^\.' | sort | uniq -c | sort -rn | head -20

# Go
grep -rh "\"" --include="*.go" . 2>/dev/null | grep -E '^\s+"' | sed 's/.*"//;s/".*//' | sort | uniq -c | sort -rn | head -20

# Swift
grep -rh "^import " --include="*.swift" . 2>/dev/null | sed 's/import //' | sort | uniq -c | sort -rn | head -20

Step 3: Scan project structure

# Directory structure (2 levels deep, ignore hidden/vendor)
find . -maxdepth 2 -type d ! -path '*/\.*' ! -path '*/node_modules*' ! -path '*/.venv*' ! -path '*/vendor*' ! -path '*/__pycache__*' | sort

# Config files present
ls -1 .eslintrc* .prettierrc* ruff.toml pyproject.toml tsconfig.json biome.json jest.config* vitest.config* vite.config* webpack.config* Makefile Dockerfile docker-compose* .env.example 2>/dev/null

Step 4: Classify patterns

From Steps 1-3, classify into categories. Only report categories with HIGH CONFIDENCE (direct evidence in code):

Read the full file on GitHub · 201 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. 3mo ago First seen · 201 lines · 27 tokens per session scan B fdfbbeed6447

Subscribe to this mod's changes

learn-project is a skill published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 26d ago), licensed MIT. It adds 27 tokens to every session and 1,991 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

learn-project compared with skills from other repositories

learn-project next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
learn-projectluiseiman/dotforgeSkill826d agoMITB27Claude Code
zephermineDannykkh/skill-olympusSkill96d agoMITA97Codex
design-planDannykkh/skill-olympusSkill96d agoMITA108Codex
agent-teamDannykkh/skill-olympusSkill96d agoMITA132Claude Code, Codex
clioDannykkh/skill-olympusSkill96d agoMITA107Claude Code, Codex
frontend-designDannykkh/skill-olympusSkill96d agoMITA92Claude Code, Codex
argosDannykkh/skill-olympusSkill96d agoMITA89Claude Code, Codex