creating-sdk-apps
This skill should be used when the user asks to "create an agent SDK app", "build a Claude Agent SDK project", "set up a new SDK application", "scaffold an agent app", "create a new agent", or needs guidance on initializing, configuring, and building applications with the Claude Agent SDK in TypeScript or Python.
What this skill does
# Creating Claude Agent SDK Applications Guide the creation of new Claude Agent SDK applications from initial requirements gathering through project setup, implementation, verification, and getting-started documentation. ## Reference Documentation Before starting, review the official documentation for accurate, up-to-date guidance: 1. **Overview**: https://docs.claude.com/en/api/agent-sdk/overview 2. **SDK reference** (based on language choice): - TypeScript: https://docs.claude.com/en/api/agent-sdk/typescript - Python: https://docs.claude.com/en/api/agent-sdk/python 3. **Relevant guides**: Streaming vs Single Mode, Permissions, Custom Tools, MCP integration, Subagents, Sessions Use WebFetch to read these pages. Always check for and use the latest package versions via WebSearch before installation. ## Requirements Gathering Ask these questions one at a time, waiting for each response before asking the next. Skip any already answered via arguments. 1. **Language**: TypeScript or Python? 2. **Project name**: What should the project be called? 3. **Agent type** (skip if #2 was detailed enough): What kind of agent? Examples: - Coding agent (SRE, security review, code review) - Business agent (customer support, content creation) - Custom agent (user describes their use case) 4. **Starting point**: Minimal "Hello World", basic agent with common features, or specific example? 5. **Tooling choice**: Confirm package manager and tools (npm/pnpm/bun for TypeScript; pip/poetry for Python) ## Setup Plan Based on answers, create a plan covering: ### Project Initialization - Create project directory (if it does not exist) - Initialize package manager: - TypeScript: `npm init -y` with `type: "module"`, scripts including "typecheck" - Python: `requirements.txt` or `poetry init` - Add configuration files: - TypeScript: `tsconfig.json` with proper SDK settings - Python: Config files if needed ### Version Check - Check npm/PyPI for the latest version before installing - TypeScript: https://www.npmjs.com/package/@anthropic-ai/claude-agent-sdk - Python: https://pypi.org/project/claude-agent-sdk/ - Inform the user which version is being installed ### SDK Installation - TypeScript: `npm install @anthropic-ai/claude-agent-sdk@latest` - Python: `pip install claude-agent-sdk` - Verify installed version after installation ### Starter Files - TypeScript: Create `index.ts` or `src/index.ts` with a basic query example - Python: Create `main.py` with a basic query example - Include proper imports and basic error handling - Use modern syntax from the latest SDK version ### Environment Setup - Create `.env.example` with `ANTHROPIC_API_KEY=your_api_key_here` - Add `.env` to `.gitignore` - Explain how to get an API key from https://console.anthropic.com/ ### Optional .claude Directory - Offer to create `.claude/` directory for agents, commands, and settings - Ask if example subagents or slash commands are desired ## Implementation After gathering requirements and getting user confirmation: 1. Check for latest package versions 2. Execute setup steps 3. Create all necessary files 4. Install dependencies (always use latest stable versions) 5. Verify installed versions and inform the user 6. Create a working example based on agent type 7. Add helpful comments explaining each part ## Verification **VERIFY THE CODE WORKS BEFORE FINISHING.** - TypeScript: Run `npx tsc --noEmit` and fix ALL type errors until clean - Python: Verify imports and check for syntax errors - Do NOT consider setup complete until verification passes After manual verification, launch the appropriate verifier agent: - TypeScript: **agent-sdk-verifier-ts** - Python: **agent-sdk-verifier-py** Review the verification report and address any issues. ## Getting Started Guide Provide the user with: 1. **How to run**: `npm start` or `python main.py` 2. **How to set API key**: Environment variable setup 3. **Useful resources**: Links to SDK documentation 4. **Common next steps**: Customize system prompt, add custom tools via MCP, configure permissions, create subagents
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.