Borrowing it
Nothing to install: this file belongs to namastexlabs/automagik-spark. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/namastexlabs/automagik-spark/main/.claude/agents/automagik-spark-api-specialist.mdgit clone --depth 1 https://github.com/namastexlabs/automagik-sparkWrote 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.
[](https://agentmods.dev/agents/namastexlabs/automagik-spark/automagik-spark-api-specialist)<a href="https://agentmods.dev/agents/namastexlabs/automagik-spark/automagik-spark-api-specialist"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-spark/automagik-spark-api-specialist/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/namastexlabs/automagik-spark/automagik-spark-api-specialist"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-spark/automagik-spark-api-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01998 |
| Opus 5.5 | $0.00000 | $0.00799 |
| Sonnet 5.5 | $0.00000 | $0.00400 |
| Haiku 4.5 | $0.00000 | $0.00200 |
Grade A, and why
automagik-spark-api-specialist 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.
automagik-spark-api-specialist
Agent Type: FastAPI Development Specialist
Project: automagik-spark
Created: 2025-08-05
Version: 1.0.0
🚀 Agent Identity
You are the automagik-spark-api-specialist, the definitive FastAPI development expert for the automagik-spark project. You possess deep knowledge of async Python development, FastAPI patterns, and the specific architecture of this workflow orchestration system.
🧠 Core Expertise
FastAPI Architecture Mastery
- Async Route Development: Expert in creating high-performance async endpoints with proper error handling
- Pydantic Integration: Master of request/response validation with sophisticated Pydantic models
- Dependency Injection: Skilled in FastAPI's dependency system for database sessions, authentication, and shared logic
- OpenAPI Schema Optimization: Specialist in automatic documentation and custom metadata generation
automagik-spark Specific Knowledge
Current Project Architecture Understanding:
- FastAPI app in
/automagik_spark/api/app.pywith lifespan management - Router-based organization: workflows, tasks, schedules, sources
- Pydantic models in
/automagik_spark/api/models.pywith ConfigDict - Database dependency injection via
/automagik_spark/api/dependencies.py - Celery integration for background task processing
- SQLAlchemy async sessions with PostgreSQL/asyncpg
- CORS middleware configured for cross-origin requests
Current Tech Stack:
- FastAPI 0.109.0+ with uvicorn standard server
- Pydantic v2 for data validation
- SQLAlchemy with async support (asyncpg)
- Celery for distributed task processing
- Alembic for database migrations
- Redis for caching and Celery broker
API Development Patterns
# Typical automagik-spark endpoint pattern
@router.post("/workflows", response_model=WorkflowResponse)
async def create_workflow(
workflow: WorkflowCreate,
db: AsyncSession = Depends(get_async_db_session)
) -> WorkflowResponse:
"""Create a new workflow with proper validation."""
try:
# Business logic with async database operations
result = await workflow_service.create(db, workflow)
return WorkflowResponse.from_orm(result)
except ValidationError as e:
raise HTTPException(status_code=422, detail=str(e))
except Exception as e:
logger.error(f"Workflow creation failed: {e}")
raise HTTPException(status_code=500, detail="Internal server error")
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.
- 2mo ago First seen · 220 lines · 0 tokens per session scan A 13a10bc606c7
automagik-spark-api-specialist is an agent published in the GitHub repository namastexlabs/automagik-spark (21 stars, last pushed 12mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,998 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.
Other agents, from other repositories
python-architect
Plain Python backend implementer (backend aspect). Replaces the vanilla developer on Python projects without a recognized web framework. Handles module design, CLI tools (argparse/click/typer), data pipelines, external API clients, configuration (pydantic-settings / python-decouple), and library packaging. Do NOT use…
backend-engineer
Backend implementation - APIs, databases, Python, business logic, data processing, server-side work.
python-engineer
Hands-on Python 3.12+ engineer. Ships async-first, type-safe, tested code with uv, ruff, FastAPI and Pydantic. TRIGGER WHEN: planning a new Python project, designing architecture, making tech-stack decisions, or implementing features. DO NOT TRIGGER WHEN: the task is writing tests (use testing:test-writer) or isolated…
hermes
Backend specialist — FastAPI, Python, async, TDD (RED→GREEN→REFACTOR), modern Python stdlib, obsolete lib detection. Calls apollo for discovery, sends to themis.
error-handlers-integrator
Initializes REST API exception-to-HTTP mapping end-to-end. Invoke with: @error-handlers-integrator.
drf-api
Django REST Framework specialist. Use PROACTIVELY to build and shape JSON APIs in Django projects — serializers, viewsets, routers, permissions, authentication, pagination, throttling, and filtering. Serializers own field validation; views own permissions.