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.
npx agentmods add commands/latestaiagents/agent-skills/build-contextgit clone --depth 1 https://github.com/latestaiagents/agent-skillsWrote 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.
[](https://agentmods.dev/commands/latestaiagents/agent-skills/build-context)<a href="https://agentmods.dev/commands/latestaiagents/agent-skills/build-context"><img src="https://agentmods.dev/badge/commands/latestaiagents/agent-skills/build-context.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.00666 |
| Opus 5 | $0.00006 | $0.00333 |
| Sonnet 5 | $0.00002 | $0.00133 |
| Haiku 4.5 | $0.00001 | $0.00067 |
Grade A, and why
build-context 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/build-context
Create an optimal CLAUDE.md context file for your codebase.
What is CLAUDE.md?
A CLAUDE.md file in your project root gives AI assistants essential context about your codebase. It helps AI:
- Understand your project structure
- Follow your coding conventions
- Use the right frameworks and patterns
- Avoid common mistakes specific to your project
I'll Analyze Your Codebase
Let me scan your project to generate a CLAUDE.md. I'll look at:
- Project type - Framework, language, architecture
- Directory structure - Where things live
- Key files - Entry points, config, important modules
- Dependencies - Libraries you're using
- Conventions - Code style, naming patterns
Generated CLAUDE.md Template
# Project Context
## Overview
[One paragraph describing what this project does]
## Tech Stack
- **Language:** [TypeScript/Python/etc.]
- **Framework:** [Next.js/Django/etc.]
- **Database:** [PostgreSQL/MongoDB/etc.]
- **Key libraries:** [List important dependencies]
## Project Structure
src/ ├── components/ # React components ├── pages/ # Next.js pages (file-based routing) ├── lib/ # Shared utilities ├── api/ # API routes └── types/ # TypeScript definitions
## Key Files
- `src/lib/db.ts` - Database connection and queries
- `src/lib/auth.ts` - Authentication logic
- `src/types/index.ts` - Shared type definitions
## Coding Conventions
- Use TypeScript strict mode
- Prefer functional components with hooks
- Use named exports, not default exports
- Error messages should be user-friendly
## Commands
- `npm run dev` - Start development server
- `npm run test` - Run tests
- `npm run build` - Production build
## Common Patterns
### API calls
```typescript
// Use the fetcher from lib/api
import { fetcher } from '@/lib/api';
const data = await fetcher('/api/users');
Database queries
// Use Prisma client from lib/db
import { prisma } from '@/lib/db';
const users = await prisma.user.findMany();
Things to Avoid
- Don't use
anytype - define proper interfaces - Don't commit .env files
- Don't use console.log in production code
- Don't make database calls in components (use API routes)
Testing
- Tests are in
__tests__/directories - Use React Testing Library for components
- Mock external APIs in tests
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.
- 5d ago First seen · 108 lines · 12 tokens per session scan A d1a028d6f131
build-context is a command published in the GitHub repository latestaiagents/agent-skills (5 stars, last pushed 4mo ago), licensed MIT. It adds 12 tokens to every session and 666 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-31.
Other commands, from other repositories
session
Capture, list, rehydrate, and promote llm-wiki session context. Supports automated hook capture into HUB/.sessions plus explicit promotion into topic raw notes.
notebook
Low-ceremony capture for ideas (half-formed, want to mature into stories), todos (concrete actions), and notes (durable project/team facts for future recall). One-line capture, conditional elaboration AUQ. Use BEFORE thoughts get forced into stories.
claude-flow-memory
Interact with Claude-Flow memory system.
fdk-react-create
Create a new Platform 3.0 React Meta app (default UI stack). Uses fdk create react-starter-template or react-meta skeletons with DEW components, metaConfig in manifest.json, and React Router.
fdk-refactor
Reduce function complexity in a Freshworks app to meet cyclomatic complexity ≤ 7 per function. Extracts helper functions, simplifies conditionals, and preserves behavior while improving code quality.
memory-persist
Command "memory-persist" from smith-horn/skillsmith, covering memory-persist, usage, options, examples and (old: memory persist --export ; new: memory export -o ).