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 skills add asgarovf/locusai --skill context-buildergit clone --depth 1 https://github.com/asgarovf/locusaiWrote 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/skills/asgarovf/locusai/context-builder)<a href="https://agentmods.dev/skills/asgarovf/locusai/context-builder"><img src="https://agentmods.dev/badge/skills/asgarovf/locusai/context-builder/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.
<a href="https://agentmods.dev/skills/asgarovf/locusai/context-builder"><img src="https://agentmods.dev/badge/skills/asgarovf/locusai/context-builder.svg" alt="Reviewed on agentmods" width="80" 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.00034 | $0.00896 |
| Opus 5.5 | $0.00014 | $0.00358 |
| Sonnet 5.5 | $0.00007 | $0.00179 |
| Haiku 4.5 | $0.00003 | $0.00090 |
Grade A, and why
context-builder 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 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.
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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context Builder
When to use this skill
- Starting work on an unfamiliar codebase or module
- Before implementing a feature that spans multiple files
- When you need to understand existing patterns before writing code
- Before refactoring to avoid breaking implicit contracts
- When onboarding to a new project area
Step 1: Project Structure
Understand the high-level layout:
# Top-level structure
ls -la
# Directory tree (2 levels, excluding noise)
find . -maxdepth 2 -not -path '*/node_modules/*' -not -path '*/.git/*' -not -path '*/dist/*' | head -60
# Package manager and scripts
cat package.json | head -40
Key things to note:
- Monorepo vs single package
- Build system (webpack, vite, esbuild, tsc)
- Test framework (jest, vitest, mocha)
- Available scripts (lint, format, test, build)
Step 2: Dependencies
# Key dependencies
cat package.json | grep -A 30 '"dependencies"'
# Dev dependencies (reveals tooling choices)
cat package.json | grep -A 30 '"devDependencies"'
Identify:
- Framework (React, Vue, Express, Fastify, etc.)
- ORM/database (Prisma, TypeORM, Drizzle, etc.)
- Validation (Zod, Joi, Yup, etc.)
- State management (Redux, Zustand, etc.)
- Testing tools (Jest, Vitest, Playwright, etc.)
Step 3: Configuration
Read configuration files to understand project conventions:
tsconfig.json— TypeScript settings, path aliases.eslintrc/eslint.config.js— Linting rules.prettierrc— Formatting rules.env.example— Required environment variablesCLAUDE.md/LOCUS.md— AI agent instructions
Step 4: Patterns
Before writing new code, find existing patterns:
# How are API routes structured?
grep -r "router\.\|app\.\(get\|post\|put\|delete\)" --include="*.ts" -l
# How are components organized?
find src/components -name "*.tsx" -maxdepth 2
# How are tests structured?
find . -name "*.test.*" -o -name "*.spec.*" | head -20
# How are types/interfaces defined?
grep -r "^export interface\|^export type" --include="*.ts" -l | head -10
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.
- 3mo ago First seen · 118 lines · 34 tokens per session scan A 7dc0ffb7e59f
context-builder is a skill published in the GitHub repository asgarovf/locusai (23 stars, last pushed 9mo ago), licensed MIT. It adds 34 tokens to every session and 896 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-08-30.
context-builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context-builderasgarovf/locusai | Skill | 23 | 9mo ago | MIT | A | 34 | Claude Code |
| repository-discoverykarthikrshet/aiskills | Skill | 4 | 2d ago | none | A | 61 | Claude Code, Codex |
| repo-onboardingjnMetaCode/skillet | Skill | 2 | 2mo ago | MIT | A | 48 | Claude Code, Codex |
| project-mapsoulcodex/agentic | Skill | 10 | yesterday | MIT | A | 49 | Claude Code, Codex |
| codebase-onboardingericrisco/rsc-harness | Skill | 709 | 3d ago | MIT | A | 83 | Claude Code, Codex |
| genin-skillandycungkrinx91/konoha | Skill | 168 | yesterday | Apache-2.0 | A | 41 | Codex |
| specialist-exploracao-codebaseMatheus-Gama-deluna/Maestro | Skill | 0 | 8mo ago | none | A | 30 | Claude Code |