.claude/skills/ts-coding-agent/SKILL.md
Run Codex CLI, Claude Code, or other coding agents as background processes for programmatic control. Use when a user asks to run a coding agent, delegate a task to another AI, spawn a sub-agent, run Claude Code in the background, or orchestrate multiple coding agents on separate tasks.
npx skillsauth add eliferjunior/Claude coding-agentInstall 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.
Run coding agents (Claude Code, Codex CLI, Gemini CLI, or others) as background processes for programmatic task delegation. Spawn sub-agents to handle well-scoped tasks, monitor their progress, and collect results. Useful for parallel task execution, complex multi-step workflows, and automated coding pipelines.
When a user asks you to delegate work to a coding agent or run one in the background, follow this process:
Check which coding agent CLIs are installed:
# Check for Claude Code
claude --version 2>/dev/null && echo "claude available" || echo "claude not found"
# Check for Codex CLI
codex --version 2>/dev/null && echo "codex available" || echo "codex not found"
# Check for Gemini CLI
gemini --version 2>/dev/null && echo "gemini available" || echo "gemini not found"
If none are available, instruct the user to install one:
# Claude Code
npm install -g @anthropic-ai/claude-code
# Codex CLI
npm install -g @openai/codex
Before spawning an agent, ensure the task is:
Write a clear prompt that includes:
Claude Code (background, non-interactive):
# Run with a specific prompt, print-only mode
claude -p "Refactor the function parseConfig in src/config.ts to use zod validation. Do not modify other files." \
--output-format text \
2>&1 | tee /tmp/agent-output.txt &
# Store the PID for monitoring
AGENT_PID=$!
echo "Agent running with PID: $AGENT_PID"
Claude Code with specific options:
# Limit scope and disable interactive features
claude -p "Add JSDoc comments to all exported functions in src/utils/" \
--no-permissions \
--output-format json \
> /tmp/agent-result.json 2>&1 &
Codex CLI:
codex --prompt "Write unit tests for src/auth/login.ts covering success, failure, and timeout cases" \
--auto-approve \
2>&1 | tee /tmp/codex-output.txt &
# Check if the agent is still running
ps -p $AGENT_PID > /dev/null 2>&1 && echo "Still running" || echo "Finished"
# Wait for completion
wait $AGENT_PID
EXIT_CODE=$?
echo "Agent exited with code: $EXIT_CODE"
# Read the output
cat /tmp/agent-output.txt
After the agent finishes:
User request: "Write tests for the auth module while I work on the API"
Actions:
# Spawn Claude Code to write tests in the background
claude -p "Write comprehensive unit tests for all functions in src/auth/. \
Use vitest as the test framework. Create test files next to source files \
with .test.ts extension. Cover success, failure, and edge cases. \
Do not modify any source files." \
--output-format text \
2>&1 | tee /tmp/test-agent.txt &
TEST_PID=$!
echo "Test writing agent started (PID: $TEST_PID)"
After completion, review the generated test files and run the test suite:
wait $TEST_PID
npx vitest run src/auth/
User request: "Add types to the utils folder and add docs to the components folder"
Actions:
# Agent 1: Add TypeScript types
claude -p "Add strict TypeScript types to all functions in src/utils/. \
Replace any 'any' types with proper types. Do not modify files outside src/utils/." \
--output-format text > /tmp/types-agent.txt 2>&1 &
PID1=$!
# Agent 2: Add documentation
claude -p "Add JSDoc documentation to all React components in src/components/. \
Include @param, @returns, and @example tags. Do not modify logic." \
--output-format text > /tmp/docs-agent.txt 2>&1 &
PID2=$!
# Wait for both
wait $PID1 $PID2
echo "Both agents finished"
cat /tmp/types-agent.txt
cat /tmp/docs-agent.txt
User request: "Analyze the codebase and list all TODO comments with suggested fixes"
Actions:
claude -p "Search the entire src/ directory for TODO, FIXME, and HACK comments. \
For each one, output a JSON array with objects containing: file, line, comment, \
and suggestedFix. Only output the JSON, no other text." \
--output-format text > /tmp/todos.json 2>&1
# Parse and display
cat /tmp/todos.json | python3 -m json.tool
--output-format text or --output-format json for programmatic consumption.development
Expert guidance for Fireworks AI, the platform for running open-source LLMs (Llama, Mixtral, Qwen, etc.) with enterprise-grade speed and reliability. Helps developers integrate Fireworks' inference API, fine-tune models, and deploy custom model endpoints with function calling and structured output support.
development
Convert any website into clean, structured data with Firecrawl — API-first web scraping service. Use when someone asks to "turn a website into markdown", "scrape website for LLM", "Firecrawl", "extract website content as clean text", "crawl and convert to structured data", or "scrape website for RAG". Covers single-page scraping, full-site crawling, structured extraction, and LLM-ready output.
tools
Expert guidance for Firebase, Google's platform for building and scaling web and mobile applications. Helps developers set up authentication, Firestore/Realtime Database, Cloud Functions, hosting, storage, and analytics using Firebase's SDK and CLI.
development
When the user needs to build file upload functionality for a web application. Use when the user mentions "file upload," "image upload," "upload endpoint," "multipart upload," "presigned URL," "S3 upload," "file validation," "upload to cloud storage," or "accept user files." Handles upload endpoints, file validation (type, size, magic bytes), cloud storage integration, and upload status tracking. For image/video processing after upload, see media-transcoder.