.agents/skills/create-worker-agents/SKILL.md
# Create Worker Agent Skill This skill creates worker agent specifications for the newest free models from opencode and openrouter. ## When to Use This Skill Use this skill when you need to: - Create worker agent specifications for new free AI models - Update existing worker agents when new models become available - Maintain consistency in worker agent specifications across different providers ## Skill Overview This skill creates agent specification files following the pattern `[provider_a
npx skillsauth add em-jones/staccato-toolkit .agents/skills/create-worker-agentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill creates worker agent specifications for the newest free models from opencode and openrouter.
Use this skill when you need to:
This skill creates agent specification files following the pattern [provider_abbreviation]_[model_name]_worker.md where:
provider_abbreviation is either oc for opencode or or for openroutermodel_name is the specific model identifierThe skill checks for the latest free models from both opencode and openrouter and creates corresponding worker agent specifications.
The skill queries the OpenRouter API to get the latest free models:
curl -s "https://openrouter.ai/api/v1/models" | jq -r '.data[] | select(.pricing.prompt=="0" and .pricing.completion=="0") | .id'
The skill filters the results for the target model families:
For each qualifying model, the skill creates two agent specification files:
oc_[model_name]_worker.mdor_[model_name]_worker.mdEach file follows the standard worker agent template with appropriate model specification in the frontmatter.
The skill handles special cases like:
To use this skill, invoke it with:
/agents/skills/create-worker-agents/create_worker_agents.sh
Or call it from another skill or agent workflow.
The generated worker agent files follow this template:
---
description: Parallelizable general-purpose worker; expertise attached to td task as skill to use.
mode: subagent
model: [provider]/[model_id]:free
temperature: 0.7
tools:
write: true
edit: true
bash: true
kubernetes_*: true
---
# Worker agent
## Session start
```bash
task worker:next_task <worker_feature_id> # Returns null or {task_id: <task_id>, skill: <skill>, context: <context>, status: status}
Whenever worker:next_task returns null, that's a signal that the feature is complete
in_progress, open] Implementation operationscontext and skill returned from worker:next_task to implement the task while
logging progress. If skill is a comma-separated list, load each skill before beginning (see
skill-composition skill for guidance)td link <id> <files> --role implementationtd review <id>in_review Review operationscontext and skill returned from worker:next_task to review the implementation of
the task while logging progress. If skill is a comma-separated list, load each skill before
reviewingtd files <id> --role implementation and review themtd approve <id>td reject <id>worker:next_tasktd log and use flags:
--decision for significant decisions made during implementation--hypothesis for assumptions or hypotheses that are being tested during implementation--tried for approaches or solutions that were attempted during implementation--result for outcomes of the approaches or solutions that were attempted during implementation--blocker for any blockers encountered during implementationtd link <id> <files> --role implementationHandoff captures the session's work and decisions, preserving context for the next session. Handoff is required at each task state transition:
Before td review (submitting for review):
td handoff <id> --done "<what was implemented>" --remaining "none" [--decision "<key decision made>"]
Before td approve (approving a reviewed task):
td handoff <id> --done "Verified: <summary of what was confirmed>" --remaining "none"
Before td reject (returning task to implementer):
td handoff <id> --done "Review complete, rejected" --remaining "<specific actionable issues to fix>"
Handoff ensures the next agent session knows what was done, what remains, and why decisions were made.
## Example Output
When run, this skill might create files like:
- `.opencode/agents/oc_qwen-worker.md`
- `.opencode/agents/or_qwen-worker.md`
- `.opencode/agents/oc_nemotron-worker.md`
- `.opencode/agents/or_nemotron-worker.md`
- And so on for other qualifying free models
## Notes
- The skill respects existing files and will not overwrite them unless explicitly designed to do so
- Only creates workers for models that have confirmed free tiers (both prompt and completion pricing at 0)
- Follows the exact same format as existing worker agent specifications in the repository
tools
<!--VITE PLUS START--> # Using Vite+, the Unified Toolchain for the Web This project is using Vite+, a unified toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Vite+ wraps runtime management, package management, and frontend tooling in a single global CLI called `vp`. Vite+ is distinct from Vite, but it invokes Vite through `vp dev` and `vp build`. ## Vite+ Workflow `vp` is a global binary that handles the full development lifecycle. Run `vp help` to pr
development
Guide for building performant data tables. Uses tanstack-table for table logic (sorting, filtering, pagination) and tanstack-virtual for rendering large datasets efficiently.
development
Expert guidance for building observable, expressive, and fault-tolerant TypeScript applications using the effect-ts/effect ecosystem. Covers Effect<A, E, R> type, error management, dependency injection via Layers, observability (logging, metrics, tracing), concurrency with Fibers, retry/scheduling, Schema validation, Streams, and Sinks.
tools
Complete E2E (end-to-end) and integration testing skill for TypeScript/NestJS projects using Jest, real infrastructure via Docker, and GWT pattern. ALWAYS use this skill when user needs to: **SETUP** - Initialize or configure E2E testing infrastructure: - Set up E2E testing for a new project - Configure docker-compose for testing (Kafka, PostgreSQL, MongoDB, Redis) - Create jest-e2e.config.ts or E2E Jest configuration - Set up test helpers for database, Kafka, or Redis - Configure .env.e2e environment variables - Create test/e2e directory structure **WRITE** - Create or add E2E/integration tests: - Write, create, add, or generate e2e tests or integration tests - Test API endpoints, workflows, or complete features end-to-end - Test with real databases, message brokers, or external services - Test Kafka consumers/producers, event-driven workflows - Working on any file ending in .e2e-spec.ts or in test/e2e/ directory - Use GWT (Given-When-Then) pattern for tests **REVIEW** - Audit or evaluate E2E tests: - Review existing E2E tests for quality - Check test isolation and cleanup patterns - Audit GWT pattern compliance - Evaluate assertion quality and specificity - Check for anti-patterns (multiple WHEN actions, conditional assertions) **RUN** - Execute or analyze E2E test results: - Run E2E tests - Start/stop Docker infrastructure for testing - Analyze E2E test results - Verify Docker services are healthy - Interpret test output and failures **DEBUG** - Fix failing or flaky E2E tests: - Fix failing E2E tests - Debug flaky tests or test isolation issues - Troubleshoot connection errors (database, Kafka, Redis) - Fix timeout issues or async operation failures - Diagnose race conditions or state leakage - Debug Kafka message consumption issues **OPTIMIZE** - Improve E2E test performance: - Speed up slow E2E tests - Optimize Docker infrastructure startup - Replace fixed waits with smart polling - Reduce beforeEach cleanup time - Improve test parallelization where safe Keywords: e2e, end-to-end, integration test, e2e-spec.ts, test/e2e, Jest, supertest, NestJS, Kafka, Redpanda, PostgreSQL, MongoDB, Redis, docker-compose, GWT pattern, Given-When-Then, real infrastructure, test isolation, flaky test, MSW, nock, waitForMessages, fix e2e, debug e2e, run e2e, review e2e, optimize e2e, setup e2e