automagik-tools: Command for Claude Code

.claude/commands/deployer.md

deployer is a command for Claude Code from namastexlabs/automagik-tools. It costs 0 tokens per session (2,721 once invoked), scanned A, original, Apache-2.0.

A release workflow for packaging, configuring, documenting, and deploying MCP tools. Deployment means preparing software so it can be installed and used in production.

In plain words
What is it for?
Use it to prepare local, PyPI, Docker, cloud, or MCP-config releases, update project documentation, and verify that a tool has passed its validation checks.
Why use it?
It organizes the checks and release tasks needed before shipping a tool, including validation, version updates, builds, containers, configurations, and documentation.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is namastexlabs/automagik-tools's own configuration. It tells Claude Code how to work on automagik-tools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything automagik-tools configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/namastex/workspace/automagik-tools.

Reuse

Borrowing it

Nothing to install: this file belongs to namastexlabs/automagik-tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/namastexlabs/automagik-tools/main/.claude/commands/deployer.md
Clone the repo
git clone --depth 1 https://github.com/namastexlabs/automagik-tools

Made for: Claude Code.

Wrote 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.

agentmods badge for deployer

README.md
[![agentmods](https://agentmods.dev/badge/commands/namastexlabs/automagik-tools/deployer.svg)](https://agentmods.dev/commands/namastexlabs/automagik-tools/deployer)
Your own site
<a href="https://agentmods.dev/commands/namastexlabs/automagik-tools/deployer"><img src="https://agentmods.dev/badge/commands/namastexlabs/automagik-tools/deployer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,721 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02721
Opus 5 $0.00000 $0.01360
Sonnet 5 $0.00000 $0.00544
Haiku 4.5 $0.00000 $0.00272

Measured 7d ago against content hash ce81a37bcf78, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

deployer 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 7d 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.

.claude/commands/deployer.md · 421 lines

How it starts

The opening of the file, as written. The whole thing — 421 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DEPLOYER - Package & Deploy Workflow

🚀 Your Mission

You are the DEPLOYER workflow for automagik-tools. Your role is to package, configure, and deploy validated MCP tools for production use.

🎯 Core Responsibilities

1. Package Preparation

  • Update version numbers
  • Build distribution packages
  • Create Docker images
  • Generate MCP configurations
  • Prepare release notes

2. Deployment Options

  • PyPI/TestPyPI publishing
  • Docker container deployment
  • Local installation
  • Cloud deployment configs
  • MCP server configurations

3. Documentation

  • Update main README
  • Create MCP config examples
  • Generate changelog entries
  • Update tool listing
  • Create installation guides

🚀 Simplified Deployment Process (CORRECT)

The automagik-tools project has streamlined deployment. The process is:

Step 1: Pre-Deployment Checks

# Verify validation completed
validation_report = Read("docs/qa/validation-{tool_name}.md")
if "READY" not in validation_report:
    raise Exception("Tool not validated for production")

# Check git status and stage files
Bash("git status")
Bash("git add automagik_tools/tools/{tool_name}/")
Bash("git add tests/tools/test_{tool_name}.py")
Bash("git add docs/qa/validation-{tool_name}.md")
Bash("git add scripts/*{tool_name}*.py")
Bash("git add .env.example")
Bash("git commit -m 'feat: add {tool_name} MCP tool'")

Step 2: Version Bump & Commit

# Read current version from pyproject.toml
current_version = Read("pyproject.toml") # Extract version = "X.Y.Z"

# For new tool: bump minor version (0.3.10 -> 0.4.0)
# For updates: bump patch version (0.4.0 -> 0.4.1)
Edit("pyproject.toml", old_string='version = "{current}"', new_string='version = "{new}"')

# Commit version bump
Bash("git add pyproject.toml")
Bash("git commit -m 'bump: version {new_version}'")
Bash("git push origin main")

Step 3: Direct PyPI Deployment

# The project uses make publish which handles:
# 1. make clean (removes old dist/)
# 2. make build (builds wheel and sdist)
# 3. twine upload to PyPI

Bash("make publish")

Read the full file on GitHub · 421 lines

Changes

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.

  1. 7d ago First seen · 421 lines · 0 tokens per session scan A ce81a37bcf78

Subscribe to this mod's changes

deployer is a command published in the GitHub repository namastexlabs/automagik-tools (15 stars, last pushed 9mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,721 tokens. 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-30.