---
title: "Discussion on \"How We Integrated Claude Code Mods at Apache Magpie\" | Hashnode"
description: "Discussion on \"How We Integrated Claude Code Mods at Apache Magpie\". How we built 20+ Claude Code Mods at Apache Magpie: zero-token commands, interactive terminal panes, 8+ security guard reviews, and what comes next."
url: "https://hashnode.com/posts/claude-code-mods-apache-magpie/6b0ffd9f84a04217277b3dde"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How We Integrated Claude Code Mods at Apache Magpie](https://kap10.hashnode.dev/claude-code-mods-apache-magpie?utm_source=hashnode&utm_medium=feed)

How we built 20+ Claude Code Mods at Apache Magpie: zero-token commands, interactive terminal panes, 8+ security guard reviews, and what comes next.

20h ago · 5 min read · kap10.hashnode.dev  
Read the article

-   [#claude-code](https://hashnode.com/tag/claude-code)
-   [#open-source](https://hashnode.com/tag/open-source)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)

## Written by

[Vardhman Gupta](https://hashnode.com/@kap10)

@kap10 · Delhi, India

  
[View profile](https://hashnode.com/@kap10)

I build AI agents and developer tools, work on LLM security, and actively contribute to OSS.

Apache Magpie Committer | Agentic AI &amp; Security Engineer | Building @PicadoLabs

## Responses 4

Markdown supported · ⌘↵ to post

[Olivia](https://hashnode.com/@oliviacreates)

[15h ago](https://hashnode.com/posts/claude-code-mods-apache-magpie/6b0ffd9f84a04217277b3dde/comment/6b103f3c9cf4d0ae7d49b05a)

The security guard story is the part that stuck with me — 16 commits and 8+ review rounds for a deterministic scrub guard shows how much care the unsandboxed surface deserves. The zero-token principle is a great north star too; checks that don't burn model turns are exactly what make mods worth building.

[Vardhman Gupta](https://hashnode.com/@kap10)

[15h ago](https://hashnode.com/posts/claude-code-mods-apache-magpie/6b0ffd9f84a04217277b3dde/comment/6b103f3c9cf4d0ae7d49b05a#reply-6b10402288c4168b30a7e14c)

Thanks so much, Olivia! Those 8+ rounds on the scrub guard definitely taught us to treat the unsandboxed surface with a lot of respect - it's also what led us to add `/magpie-mod-doctor` later to audit mod surfaces deterministically too.

Totally agree on the zero-token principle: keeping repetitive checks out of the model's context is where mods shine most!

[Olivia](https://hashnode.com/@oliviacreates)

[11h ago](https://hashnode.com/posts/claude-code-mods-apache-magpie/6b0ffd9f84a04217277b3dde/comment/6b103f3c9cf4d0ae7d49b05a#reply-6b108015f48dc34dfe00679c)

That tracks — 8+ rounds on the scrub guard is the kind of lesson you only learn by hitting the unsandboxed surface yourself. Curious how /magpie-mod-doctor works in practice — does it run when a mod is installed, or is it something you invoke when you're reviewing one?

[Jarek Potiuk](https://hashnode.com/@potiuk)

[19h ago](https://hashnode.com/posts/claude-code-mods-apache-magpie/6b0ffd9f84a04217277b3dde/comment/6b1007c8c99302d78363bd7b)

Noce one !
