clade-local-dev-loop
Skill by jeremylongshore
Sets up a local development loop for building with the Anthropic API. It covers project setup, hot reload with tsx, cost-saving tips and a mock client for tests. Aimed at developers building with Claude.
Install clade-local-dev-loop
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clade-local-dev-loop ~/.claude/skills/clade-local-dev-loopRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clade-local-dev-loop ~/.gemini/antigravity-cli/skills/clade-local-dev-loopAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install clade-local-dev-loop in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill describes a fast, low-cost workflow for building with Claude. It scaffolds a Node.js project with the Anthropic SDK, dotenv and tsx, then adds a test script that calls Claude Haiku and prints an estimated cost for each request. Hot reload comes from running the script in tsx watch mode, which re-runs it when files change.
The skill also lists cost-saving tips, including using Haiku during development, lowering max_tokens, prompt caching, Message Batches and logging responses locally. A mock Anthropic client is provided for unit tests that should not call the API. A Python workflow using ipython is included for interactive exploration. It is for developers who build with the Anthropic API and want quicker, cheaper local iteration.
Written from the project's SKILL.md and checked against it.
What it can do
- Project setupScaffolds a project with the Anthropic SDK, dotenv and tsx.
- Test script with cost trackingRuns a prompt on Claude Haiku and prints an estimated cost per request.
- Hot reloadRe-runs the script on file changes using tsx watch mode.
- Cost-saving tipsLists ways to lower development API spend, such as caching and batches.
- Mock clientProvides a fake Anthropic client for unit tests without API calls.
- Python dev loopShows interactive exploration of the API with ipython.
What you need
- ANTHROPIC_API_KEY environment variable
- Node.js 18+ or Python 3.10+
- npm or pip package manager
Try asking
- Set up a local Anthropic API dev loop with hot reload in this project
- Write a test script that calls Claude Haiku and prints the cost
- Create a mock Anthropic client for my unit tests
Good to know
- Cost figures are estimates calculated in the example script.
- Prompt caching is described in the source as a beta feature.
- The mock client returns a fixed response and is meant for unit tests only.
- The Python section is an interactive example, not a full project setup.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/clade-local-dev-loop/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)Bash(pip:*)
-
SKILL.md4 KB -
references/one-pager.md1 KB
Alternatives to clade-local-dev-loop
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
clade-local-dev-loop: common questions
Which model does this skill use for development?
Its examples use claude-haiku-4-5-20251001, which the source describes as 20x cheaper than Opus.
How does hot reload work here?
The skill runs the test script with npx tsx watch, which re-runs it whenever files change.
How are API calls avoided during tests?
The example mock client is used when the MOCK environment variable is set, so tests do not call the API.
How do I install clade-local-dev-loop?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is clade-local-dev-loop free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is clade-local-dev-loop safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to clade-local-dev-loop?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
