Chamnan

by arcticfox2029

Not rated
GitHub

About

Context-optimized security plugin for Claude Code that builds architecture maps and redacts secrets.

Details

Author
arcticfox2029
Categories
Developer Tools, Other, AI

Setup

Install Chamnan in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/arcticfox2029/chamnan

Follow the installation instructions in the repository README, then restart your MCP client.

Written automatically — all of it inside.chamnan/

Nothing outside.chamnan/is written without you asking. There is one opt-in exception, below.

If fewer than 70% of files have an opening comment,/chamnan:bootstrapsays so and offers to fix it. The offer is a question, not a step it takes:

Never edit files for this without asking first. It touches every undocumented file in the repo. —skills/bootstrap/SKILL.md

Given a yes, it dispatches thecommenteragent, which is deliberately narrow:

Two honest caveats. The tools list is a hard boundary enforced outside the agent — it genuinely cannot run a command or delete a file. The "one line, never touch existing comments, never change code" rules are instructions to a model, and a model following instructions is not the same thing as a guarantee: review the diff, as you would for any change you did not type. It is one line per file, so the diff is easy to read.

Prefer it never asks? Set"agents": falsein.chamnan/config.json. chamnan then lists the files missing a comment and leaves them to you.

chamnan-map --install-git-hookwrites.git/hooks/pre-commit. Opt-in, never automatic, and it does not clobber a hook you already have — it appends a block marked# >>> chamnan, which is also how you remove it.

chamnan writes the comments and procedures it generates in English by default. Those strings are re-read on every session, and English carries the same meaning in fewer tokens — measured at 1.53x for Thai versus English across three matched sentence pairs.

That figure was measured with a local model's tokenizer, not Claude's.Take it as a direction, not a number: the ratio is real, its exact size on Claude is unverified here.

It is a default, not a rule. A team whose reviewers do not read English is better served by comments they will actually read, and the plugin does not argue:

// .chamnan/config.json { "language": "th" }

Or just say so — "write the comments in Thai" is enough, and Claude sets it for you. Nothing else in the plugin changes: replies to you are in whatever language you are speaking, always.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.