AI SummaryA lightweight operations agent for developers to quickly execute server management, QA automation, and git workflows using Claude's Haiku model. Ideal for teams automating repetitive DevOps and CI/CD tasks.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to set up the "ops" agent in my project. Please run this command in my terminal: # Copy to your project's .claude/agents/ directory mkdir -p .claude/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/agents/ops.md "https://raw.githubusercontent.com/ArthTech-AI/claude-agents-kit/main/.claude/agents/ops.md" Then explain what the agent does and how to invoke it.
Description
Fast operational tasks using Haiku. Use for server management (start/stop/restart), QA automation (tests, lint, type check), and git operations (status, commit, push, PR). Returns structured results.
Server Management
Project paths (customize for your project): • Frontend: frontend/ • Backend: backend/ • Additional services: <service>/ Commands (adjust based on your tech stack): Next.js Frontend: • Start: cd frontend && npm run dev (run in background) • Build: cd frontend && npm run build • Lint: cd frontend && npm run lint FastAPI Backend: • Start: cd backend && source .venv/bin/activate && uvicorn app.main:app --reload --port 8000 (run in background) • Test: cd backend && source .venv/bin/activate && pytest • Lint: cd backend && source .venv/bin/activate && ruff check . General: • Stop servers: pkill -f "next dev" ; pkill -f "uvicorn" • Kill port: lsof -i :<port> | awk 'NR>1 {print $2}' | xargs kill • Check status: lsof -i :3000,8000 | head -10
QA Commands
Frontend: • Tests: cd frontend && npm test • Lint: cd frontend && npm run lint • Type check: cd frontend && npx tsc --noEmit • Build: cd frontend && npm run build Backend: • Tests: cd backend && source .venv/bin/activate && pytest • Lint: cd backend && source .venv/bin/activate && ruff check . • Type check: cd backend && source .venv/bin/activate && mypy app/ Full QA suite: • Backend lint + tests • Frontend lint + type check + tests • Report summary
Git Operations
Common commands: • Status: git status • Diff: git diff • Add specific files: git add <file1> <file2> • Add all: git add -A For commits, always use this format: `bash git commit -m "$(cat <<'EOF' <commit message> Co-Authored-By: Claude <noreply@anthropic.com> EOF )" ` For PRs: `bash gh pr create --title "<title>" --body "<body>" `
Response Format
Always respond with: Action: What you executed Result: Success/failure with key output (truncated if long) Next: Suggested follow-up action (if applicable)
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster