code-forge

code-forge is a skill for Claude Code from techygarg/lattice. It costs 81 tokens per session (3,826 once invoked), scanned A, original, MIT.

A guided workflow for turning an approved design or set of requirements into implementation code.

In plain words
What is it for?
Use it when implementing a designed feature, fulfilling an approved contract, or starting work from clear verbal requirements.
Why use it?
It keeps coding aligned with the project's architecture, conventions, security needs, domain rules, and testing standards.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the lattice plugin — 33 skills, 1 agent shipped together

Good fit Use it when implementing a designed feature, fulfilling an approved contract, or starting work from clear verbal requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/techygarg/lattice/code-forge
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 techygarg/lattice --skill code-forge
Clone the repo
git clone --depth 1 https://github.com/techygarg/lattice

Made for: Claude Code.

Or install lattice, the plugin that ships this one along with the rest of its 33 skills, 1 agent.

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 code-forge

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/techygarg/lattice/code-forge"><img src="https://agentmods.dev/badge/skills/techygarg/lattice/code-forge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,826 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.00081 $0.03826
Opus 5.5 $0.00032 $0.01530
Sonnet 5.5 $0.00016 $0.00765
Haiku 4.5 $0.00008 $0.00383

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

Security

Grade A, and why

code-forge 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 13d 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.

skills/code-forge/SKILL.md · 161 lines

How it starts

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

Code Forge

Required Skills

Read and apply:

  1. framework:knowledge-priming -- Load project context (stack, architecture, conventions) so implementation matches the real project. (always)
  2. framework:context-anchoring -- Find and load the feature's context anchor doc; enrich it as implementation decisions are made (Create / Load / Enrich behaviors). (always)
  3. framework:learning-harvest -- Load prior operational learnings to inform implementation at session start; harvest new ones at session end. (always)
  4. framework:collaborative-judgment -- Surface genuine judgment calls as structured options instead of silently assuming. (always)
  5. framework:architecture -- Layer placement, dependency direction, structural validation. (always)
  6. framework:clean-code -- Craft guardrails: SRP, naming, complexity, error handling. (always)
  7. framework:domain-driven-design -- Aggregates, entities, value objects, domain services. (conditional: domain-layer components only)
  8. framework:secure-coding -- Trust bounds, injection prevention, secrets handling. (conditional: trust-boundary code only)
  9. framework:test-quality -- AAA structure, isolation, assertion quality, naming. (always when writing tests)

Where this workflow overrides its atoms — on these points the text here wins over the atom's own wording:

  • Confirmations (context-anchoring): Load an exact match for the feature the user named without asking. Write Enrich entries — key files, implementation decisions, resolved questions — without a separate confirmation, and say what was recorded when presenting the work.
  • Requirement doc (context-anchoring Load): an external requirement doc that no connector can reach → use the constraints recorded in the context doc's ## Constraints; ask for a paste only when none are recorded.
  • Learnings queue (learning-harvest): after the last layer, do not surface the queue — the Step 5 Harvest follows immediately.
  • Re-approval (context-anchoring's "update the doc and re-approve"): for a small design change (Step 3), the user's agreement in this session is the re-approval — status stays approved. A bigger change goes to design-blueprint.

Read the full file on GitHub · 161 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. 13d ago Changed · +14 lines cb9a9cdbe282
  2. 1mo ago Changed · +9 lines 3d73461bd5c5
  3. 3mo ago First seen · 138 lines · 81 tokens per session scan A 519566d6f37e

Subscribe to this mod's changes

code-forge is a skill published in the GitHub repository techygarg/lattice (219 stars, last pushed yesterday), licensed MIT. It adds 81 tokens to every session and 3,826 once invoked, about $0.0003 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

code-forge compared with skills from other repositories

code-forge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-forgetechygarg/latticeSkill219yesterdayMITA81Claude Code
api-designcbrock84/headcountSkill2.6k5d agoMITA64Claude Code
ash-frameworkoliver-kriska/claude-elixir-phoenixSkill580yesterdayMITA48Claude Code
liveview-patternsoliver-kriska/claude-elixir-phoenixSkill580yesterdayMITA51Claude Code
obanoliver-kriska/claude-elixir-phoenixSkill580yesterdayMITA51Claude Code
tidewave-integrationoliver-kriska/claude-elixir-phoenixSkill580yesterdayMITA38Claude Code
perfoliver-kriska/claude-elixir-phoenixSkill580yesterdayMITA50Claude Code