Reproducible AI Agent DevSecOps, MCP configuration, and multi-agent project bootstrap kit for Claude Code and OpenAI Codex.
一鍵建置可重現的 AI Agent 開發與資安驗證環境:整合 MCP Server 配置、全域
AGENTS.md工程守則、資安掃描工具鏈(Semgrep / Gitleaks / Trivy / OSV-Scanner),以及大型專案多代理啟動模板。
flowchart LR
Kit["agent-dev-kit"] --> CLI["DevSecOps CLIs\n(Semgrep · Gitleaks · Trivy · OSV · k6 · Maestro)"]
Kit --> Skills["Agent Skills\n(~/.agents/skills)"]
Kit --> MCP["MCP Servers\n(~/.codex/config.toml)"]
Kit --> Rules["Global Rules\n(~/.codex/AGENTS.md)"]
Kit --> Prompts["Multi-Agent Bootstrap Prompts\n(Claude Code · Codex)"]
| Path | Purpose |
|---|---|
scripts/install.sh |
Idempotent bootstrap script with --dry-run, modular --skip-* flags, automatic timestamped backups, non-duplicate TOML block merging, and Markdown report generation. |
codex/config.toml |
Curated MCP server configuration (context7, playwright, chrome_devtools, mobile, github, semgrep, supabase, expo, figma, sentry, stripe) with write/payment approval guardrails and zero hardcoded secrets. |
codex/AGENTS.md |
10-stage engineering workflow standard covering spec-first planning, security gates, license compliance, accessibility, QA/E2E, and release checklists. |
codex/environment.example |
Environment variable template for token-authenticated MCP servers. |
prompts/bigproject-claude.md |
Large-project bootstrap playbook tailored for Claude Code. |
prompts/bigproject-codex.md |
Large-project bootstrap playbook tailored for OpenAI Codex. |
prompts/codex-bootstrap.md |
Verification and post-install sanity prompt for Codex environments. |
Preview everything safely without touching your machine:
bash scripts/install.sh --dry-runRun the full bootstrap (or skip individual sections):
bash scripts/install.sh
# Modular options:
bash scripts/install.sh --skip-cli --skip-skills- Zero hardcoded credentials: Tokens are strictly read from environment variables (
GITHUB_PAT_TOKEN,CONTEXT7_API_KEY) or official OAuth login flows (codex mcp login <server>). - Non-destructive config merge: Existing
~/.codex/config.tomland~/.codex/AGENTS.mdare automatically backed up with timestamps before any write, and duplicate[mcp_servers.*]blocks are skipped. - CI-verified: GitHub Actions validates
bash -n, TOML syntax via Pythontomllib, and--dry-runexecution on every push.
MIT