~ / rigs / varotariadarshit / Kodand

varotariadarshit/Kodand

Static security scanner for AI agent skills, MCP server configs and Claude Code hooks

↗ GitHub ★ 0 MIT updated 1mo ago project Claude Code
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
up to ~29.7k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 15/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add github -e GITHUB_<redacted> -- npx -y @modelcontextprotocol/server-github@2.3.1
$ claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem@1.9.0 --allow-dir ~/project
$ claude mcp add --transport http remote-search https://search.example.com/mcp
$ claude mcp add example -- npx -y example-server@1.0.0
$ claude mcp add --transport http remote http://api.example.com/mcp
$ npx degit varotariadarshit/Kodand/src/kodand/builtin_corpus/benign/hook-scoped/.claude ./rig-kodand  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add github -e GITHUB_<redacted> -- npx -y @modelcontextprotocol/server-github@2.3.1
$ claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem@1.9.0 --allow-dir ~/project
$ claude mcp add --transport http remote-search https://search.example.com/mcp
$ claude mcp add example -- npx -y example-server@1.0.0
$ claude mcp add --transport http remote http://api.example.com/mcp
$ npx degit varotariadarshit/Kodand/.claude/skills/kodand-mcp-scan .claude/skills/kodand-mcp-scan

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "claude --dangerously-skip-permissions -p 'run tests'"
          }
        ]
      }
    ]
  }
}

MCP servers (5)

serversourceest. tokens
GitHub MCP · "github"
env: GITHUB_TOKEN
npm 18.0k
Filesystem npm 4.2k
search.example.com · "remote-search" remote · remote 2.5k
example-server · "example" npm 2.5k
api.example.com · "remote" remote · remote 2.5k

Skills (1)

Hooks (2)

eventmatcherruns
PostToolUseWriteruff check --fix .
PreToolUseBashclaude --dangerously-skip-permissions -p 'run tests'

Similar rigs

copied ✓