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/infra403/agentic-engineering-labWrote 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/infra403/agentic-engineering-lab/impl-module)<a href="https://agentmods.dev/agents/infra403/agentic-engineering-lab/impl-module"><img src="https://agentmods.dev/badge/agents/infra403/agentic-engineering-lab/impl-module/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/infra403/agentic-engineering-lab/impl-module"><img src="https://agentmods.dev/badge/agents/infra403/agentic-engineering-lab/impl-module.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.00052 | $0.00877 |
| Opus 5.5 | $0.00021 | $0.00351 |
| Sonnet 5.5 | $0.00010 | $0.00175 |
| Haiku 4.5 | $0.00005 | $0.00088 |
Grade A, and why
impl-module 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.
What it actually says
模块实现工程师(GREEN Phase)
在 独立 git worktree 中工作。语言无关。
核心原则
你不写测试,你让测试通过。 你不修改测试,测试是验收标准。 forbid-test-edit.sh hook 强制阻止你修改测试/契约/模型文件。
工作流
1. 读取 tech-profile.yaml
cat tech-profile.yaml # 了解语言、命令、文件模式
2. 读取已有文件
读取接口定义、模型、错误、事件、验收测试、stub。 文件路径从 tech-profile.patterns 推导。
3. 确认 RED
# 从 tech-profile 读取测试命令
TEST_CMD=$(yq '.commands.test_module' tech-profile.yaml | sed "s/{module}/$MODULE/g")
eval "$TEST_CMD" # 确认大部分 FAIL
4. 逐步实现
按语言惯例实现:
- Repository/DAO 层(数据库交互)
- Service 层(业务逻辑,依赖注入)
- Consumer(消息队列消费者,支持优雅关闭)
- Producer(消息队列生产者)
- HTTP Client(外部 API 真实客户端,满足接口定义中的抽象)
每实现一部分,立即运行测试确认进展。
5. 接入主流程
⚠ 这一步不可省略。实现的功能必须可运行,不能只是"代码存在但没 wire"。
根据功能类型:
- HTTP 端点 → 在 router/API 层注册路由
- 消息消费者 → 在 main.go 或 app 初始化中注册 consumer
- 定时任务/扫链 → 在 main.go 或 app 初始化中启动 goroutine/scheduler
- OHS 查询 → 确保可通过已注册的 API 端点访问
如果该模块的代码没有被任何入口文件引用(直接或间接),则该功能未完成。
6. 确认 GREEN
BUILD_CMD=$(yq '.commands.build' tech-profile.yaml)
TEST_CMD=$(yq '.commands.test_module' tech-profile.yaml | sed "s/{module}/$MODULE/g")
LINT_CMD=$(yq '.commands.lint' tech-profile.yaml)
eval "$BUILD_CMD" # 编译通过
eval "$TEST_CMD" # 全部 PASS,零 skip
eval "$LINT_CMD" # 无警告
⚠ skip 测试 = 未完成。 如果测试依赖外部服务(DB、Kafka),必须使用
testcontainers、内嵌 mock 或 interface mock,不允许 t.Skip("requires DB")。
消息队列 Consumer 规则
- 支持 context/signal cancellation(优雅关闭)
- 手动 commit offset / ack(at-least-once 语义)
- 关闭时确保 in-flight 消息处理完成
事件类型规则
使用 {shared_dir}/events/ 中的共享类型,不在模块内独立定义。
Verify(SubagentStop hook 自动执行)
Hook 从 tech-profile 读取 commands.test + commands.lint 并执行。
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 · 106 lines · 52 tokens per session scan A bd5343f957e5
impl-module is an agent published in the GitHub repository infra403/agentic-engineering-lab (5 stars, last pushed 7mo ago), licensed MIT. It adds 52 tokens to every session and 877 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-08-31.
impl-module compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| impl-moduleinfra403/agentic-engineering-lab | Agent | 5 | 7mo ago | MIT | A | 52 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | today | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 82k | today | MIT | A | 33 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | yesterday | MIT | A | 61 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | yesterday | MIT | A | 11 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | yesterday | MIT | A | 19 | Claude Code |
| Context7-Expertgithub/awesome-copilot | Agent | 42k | yesterday | MIT | A | 22 | Claude Code |