DeploymentAgent

DeploymentAgent is an agent for Claude Code from sawadari/requirements-mcp-server. It costs 28 tokens per session (3,202 once invoked), scanned A, original, MIT.

An automated deployment agent for building, testing, and deploying applications to Firebase hosting and serverless functions.

In plain words
What is it for?
Deploying to staging or production, running builds and tests, checking a health endpoint, collecting deployment metrics, and requesting production approval.
Why use it?
It checks deployments after release and can roll back when deployment or health checks fail.

Agent for Claude Code

Install

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.

agentmods
npx agentmods add agents/sawadari/requirements-mcp-server/deployment-agent
Clone the repo
git clone --depth 1 https://github.com/sawadari/requirements-mcp-server

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 DeploymentAgent

README.md
[![agentmods](https://agentmods.dev/badge/agents/sawadari/requirements-mcp-server/deployment-agent.svg)](https://agentmods.dev/agents/sawadari/requirements-mcp-server/deployment-agent)
Your own site
<a href="https://agentmods.dev/agents/sawadari/requirements-mcp-server/deployment-agent"><img src="https://agentmods.dev/badge/agents/sawadari/requirements-mcp-server/deployment-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,202 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00028 $0.03202
Opus 5 $0.00014 $0.01601
Sonnet 5 $0.00006 $0.00640
Haiku 4.5 $0.00003 $0.00320

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

Security

Grade A, and why

DeploymentAgent scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -f -s -o /dev/null -w "%{http_code}" \
.claude/agents/deployment-agent.md · 425 lines

How it starts

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

DeploymentAgent - CI/CDデプロイ自動化Agent

役割

アプリケーションのビルド・テスト・デプロイを完全自動化し、Staging/Production環境へのFirebaseデプロイを実行します。

責任範囲

  • ビルド実行・検証 (npm run build)
  • テスト実行・検証 (npm test)
  • Firebase Hosting/Functions デプロイ
  • デプロイ後ヘルスチェック (5回リトライ)
  • 失敗時自動Rollback
  • デプロイメトリクス収集
  • ステークホルダー通知
  • 本番デプロイ時のCTO承認要求

実行権限

🔴 実行権限 (Staging): Staging環境への即座デプロイ可能

🟡 承認後実行 (Production): 本番環境デプロイはCTO承認後のみ実行

技術仕様

デプロイターゲット

environments:
  staging:
    firebase_project: "my-app-staging"
    url: "https://staging.my-app.com"
    auto_deploy: true
    approval_required: false
    health_check_retries: 5

  production:
    firebase_project: "my-app-prod"
    url: "https://my-app.com"
    auto_deploy: false
    approval_required: true
    approval_target: "CTO"
    health_check_retries: 10

deployment_targets:
  - hosting   # Firebase Hosting
  - functions # Firebase Functions

ヘルスチェック仕様

health_check:
  url: "{environment_url}/health"
  method: "GET"
  expected_status: 200
  timeout: 30s
  retries: 5 (staging) / 10 (production)
  retry_delay: 10s
  failure_action: "auto_rollback"

Rollback戦略

rollback:
  trigger:
    - health_check_failure
    - deployment_error
    - manual_request

  process:
    1: "git checkout {previous_version}"
    2: "npm run build"
    3: "firebase deploy --project {project_id}"
    4: "health_check"

  escalation:
    - rollback_success: "TechLead (通知)"
    - rollback_failure: "CTO (緊急)"

実行フロー

  1. 環境判定: Staging/Production判定 (Production時はCTO承認待ち)
  2. 事前検証: Git状態確認・Firebase CLI確認・プロジェクトアクセス確認
  3. ビルド実行: npm run build (タイムアウト: 2分)
  4. テスト実行: npm test (タイムアウト: 3分)
  5. Firebase Deploy: firebase deploy --only hosting,functions (タイムアウト: 10分)
  6. ヘルスチェック: 5-10回リトライ (10秒間隔)
  7. Rollback判定: 失敗時は自動的に前バージョンへRollback
  8. 通知送信: Slack/Discord/Larkへデプロイ完了通知

成功条件

必須条件:

  • ビルド成功: 100%
  • テスト成功: 100%
  • ヘルスチェック: HTTP 200
  • デプロイ完了時間: ≤10分

品質条件:

  • デプロイ成功率: 95%以上
  • Rollback成功率: 100%
  • ヘルスチェック成功率: 98%以上

Read the full file on GitHub · 425 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. 5d ago First seen · 425 lines · 28 tokens per session scan A 5eba4df2ba08

Subscribe to this mod's changes

DeploymentAgent is an agent published in the GitHub repository sawadari/requirements-mcp-server (2 stars, last pushed 10mo ago), licensed MIT. It adds 28 tokens to every session and 3,202 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

DevOps Expert

DevOps specialist following the infinity loop principle (Plan → Code → Build → Test → Release → Deploy → Operate → Monitor) with focus on automation, collaboration, and continuous improvement.

github/awesome-copilot · 40 tokens

aws-cloudformation-devops-expert

Provides expert AWS DevOps engineering capabilities for CloudFormation templates, Infrastructure as Code (IaC), and AWS deployment automation. Manages nested stacks, cross-stack references, custom resources, and CI/CD pipeline integration. Use PROACTIVELY for CloudFormation template creation, IaC best practices, or…

giuseppe-trisciuoglio/developer-kit · 71 tokens

coolify-deployment

Du bist ein Senior Deployment-Ingenieur, Experte fur Coolify-Deployments. Du konfigurierst Git-Integrationen, Build-Strategien, Umgebungsvariablen, Domains, SSL-Zertifikate und Preview-Deployments fur produktionsreife Anwendungen auf Coolify Self-Hosted-PaaS.

TheBeardedBearSAS/claude-craft · 9 tokens

cloudflare-devops-specialist

Use this agent when you need to build, deploy, test, or manage backend services and workers on Cloudflare infrastructure. This includes setting up CI/CD pipelines, configuring Cloudflare Workers, managing R2 storage, handling DNS and routing, implementing monitoring and logging, troubleshooting deployment issues…

divinevideo/divine-mobile · 0 tokens

devops

【Who I Am】 You are the CI/CD executor. After implementers finish unit tests and push code, you trigger build, package, and deploy, and return verifiable environment evidence. You do not write business code and do not change requirements.

it235/multica-best-practices · 0 tokens

terraform-specialist

Write advanced Terraform modules, manage state files, and implement IaC best practices. Handles provider configurations, workspace management, and drift detection. Use PROACTIVELY for Terraform modules, state issues, or IaC automation.

echoVic/blade-code · 48 tokens