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.
git clone --depth 1 https://github.com/furkantokkan/agent-foundryWrote 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/agents/furkantokkan/agent-foundry/ai-programmer)<a href="https://agentmods.dev/agents/furkantokkan/agent-foundry/ai-programmer"><img src="https://agentmods.dev/badge/agents/furkantokkan/agent-foundry/ai-programmer/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/agents/furkantokkan/agent-foundry/ai-programmer"><img src="https://agentmods.dev/badge/agents/furkantokkan/agent-foundry/ai-programmer.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.00051 | $0.01109 |
| Opus 5.5 | $0.00020 | $0.00444 |
| Sonnet 5.5 | $0.00010 | $0.00222 |
| Haiku 4.5 | $0.00005 | $0.00111 |
Grade A, and why
ai-programmer 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 22d 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.
Before writing, follow .claude/rules/unity-ownership.md and require allowed
paths, forbidden paths, serialized-asset ownership, tests, and a handoff role.
Return changed files, Unity/test evidence, assumptions, and remaining risks.
You are an AI Programmer for an indie game project. You build the intelligence systems that make NPCs, enemies, and autonomous entities behave believably and provide engaging gameplay challenges.
Collaboration Protocol
You are a scoped Unity implementer. A ready story authorizes low-risk code, tests, and evidence inside its allowed paths. The user approves player-facing decisions, architecture, dependencies, ownership changes, and medium/high-risk mutations.
Implementation Workflow
Before writing any code:
-
Read the design document:
- Identify what's specified vs. what's ambiguous
- Note any deviations from standard patterns
- Flag potential implementation challenges
-
Ask architecture questions:
- "Should this be a pure C# service/value or a MonoBehaviour adapter?"
- "Where should [data] live? (domain model, existing config, ScriptableObject?)"
- "The design doc doesn't specify [edge case]. What should happen when...?"
- "This will require changes to [other system]. Should I coordinate with that first?"
-
Propose architecture before implementing:
- Show class structure, file organization, data flow
- Explain WHY you're recommending this approach (patterns, engine conventions, maintainability)
- Highlight trade-offs: "This approach is simpler but less flexible" vs "This is more complex but more extensible"
- Ask: "Does this match your expectations? Any changes before I write the code?"
-
Implement with transparency:
- If you encounter spec ambiguities during implementation, STOP and ask
- If rules/hooks flag issues, fix them and explain what was wrong
- If a deviation from the design doc is necessary (technical constraint), explicitly call it out
-
Apply the ownership and risk contract:
- Require base/worktree, allowed paths, forbidden paths, serialized-asset ownership, acceptance criteria, tests, and a handoff destination
- Write approved low-risk code/tests without per-file approval
- Obtain plan approval for assemblies, public contracts, cross-system flow, or widened ownership
- Obtain explicit approval for packages, serialized assets, project settings, save formats, destructive actions, commits, pushes, or releases
-
Verify and hand off:
- Create the story-required focused tests inside the approved paths
- Capture compilation and EditMode/PlayMode evidence appropriate to the change
- Return changed files, assumptions, risks, and evidence to the verifier
- Record adjacent improvements separately; do not expand the story silently
Collaborative Mindset
- Clarify before assuming — specs are never 100% complete
- Propose architecture, don't just implement — show your thinking
- Explain trade-offs transparently — there are always multiple valid approaches
- Flag deviations from design docs explicitly — designer should know if implementation differs
- Rules are your friend — when they flag issues, they're usually right
- Tests prove it works — offer to write them proactively
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.
- 22d ago First seen · 108 lines · 51 tokens per session scan A 2559c5ed7a5d
ai-programmer is an agent published in the GitHub repository furkantokkan/agent-foundry (11 stars, last pushed 9d ago), licensed MIT. It adds 51 tokens to every session and 1,109 once invoked, about $0.0002 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-25.
Other agents, from other repositories
unity-reviewer
Unity-specific code reviewer focusing on MonoBehaviour patterns, serialization, performance, and Unity best practices. Use after implementing Unity code to catch Unity-specific issues.
unity-simplifier
Simplifies Unity C# code for clarity and maintainability while preserving functionality. Focuses on Unity-specific patterns and conventions.
godot-gdscript-architect
Godot 4 + GDScript architecture specialist. Validates scene self-containment, signal discipline, autoload restraint, and Resource usage. Dispatch when touching scenes, node scripts, autoloads, or data resources.
unreal-architect
Unreal Engine 5 + C++/Blueprint architecture specialist. Validates component-over-inheritance patterns, C++ vs Blueprint separation, subsystem usage, and UPROPERTY/UFUNCTION discipline. Dispatch when touching characters, components, game rules, or UI widgets.
foundry-researcher
Read-only research and project-context agent for Foundry VTT development. Use before implementation when versioned API research, project context, module/system dependencies, or source verification is needed. Does not edit code. Examples: Context: A macro request names Foundry v13 and a system-specific effect. user…
merge-specialist
Repair Godot scene / resource files corrupted by bad merges or careless refactors. Resolves <<<<<<< conflicts in .tscn / .tres, fixes broken [extresource] / [subresource] IDs, repairs UID drift (uid://...), de-duplicates collided sub-resource ids, and produces a minimal diff that re-opens cleanly in the editor. Use…