Agent skill

Clade Local Dev Loop

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Set up a fast local development loop for building with the Anthropic API — Use when working with local-dev-loop patterns.

MITAuto-check: notesDevOps & Cloud

Install Clade Local Dev Loop

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill clade-local-dev-loop -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace clade-local-dev-loop --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/clade-local-dev-loop .claude/skills/clade-local-dev-loop && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
clade-local-dev-loop
GitHub stars
2.8k
Token cost
~1k tokens
SKILL.md length
219 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Set up a fast local development loop for building with the Anthropic API — Use when working with local-dev-loop patterns.

  • Works in 3 steps: Project Setup → Create a Test Script → Run with Hot Reload
  • Working with local-dev-loop patterns
  • SKILL.md covers Overview, Prerequisites, Instructions and Cost-Saving Dev Tips, plus 7 more sections
  • Calls npm and npx; needs ANTHROPIC_API_KEY

What it does

Clade Local Dev Loop is an agent skill from jeremylongshore/tons-of-skills-marketplace. Set up a fast local development loop for building with the Anthropic API — Use when working with local-dev-loop patterns. hot reload, cost-saving tips, and test patterns. Trigger with "anthropic dev setup", "claude local development", "anthropic test locally", "claude dev workflow".

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/one-pager.md`). Compatibility notes: Designed for Claude Code

It sits in DevOps & Cloud, covering Cloud cost optimization. It works with Anthropic API and Python. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Working with local-dev-loop patterns
  • With anthropic dev setup
  • Claude local development
  • Anthropic test locally

Example prompts

  • “anthropic dev setup”
  • “claude local development”
  • “anthropic test locally”
  • “/clade-local-dev-loop”

Requirements

  • Python 3
  • Node.js
  • A credential in ANTHROPIC_API_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash(npm:*), Bash(pip:*)

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Project Setup
  2. Create a Test Script
  3. Run with Hot Reload

What it can do on your machine

Read from SKILL.md and the folder at commit 23ea8d4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash(npm:*)
    • Bash(pip:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • platform.claude.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ANTHROPIC_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Clade Local Dev Loop loads about 1k tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 76 tokens; SKILL.md has 219 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~76
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:40
    # Create .env (never commit this)
  • NoteMentions a .env fileSKILL.md:41
    o 'ANTHROPIC_API_KEY=sk-ant-api03-...' > .env
  • NoteMentions a .env fileSKILL.md:42
    echo '.env' >> .gitignore

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit 23ea8d4, republished under its MIT licence (© jeremylongshore). 219 words, ~1,025 tokens.

Download SKILL.mdSave it as .claude/skills/clade-local-dev-loop/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
clade-local-dev-loop
description
Set up a fast local development loop for building with the Anthropic API — Use when working with local-dev-loop patterns. hot reload, cost-saving tips, and test patterns. Trigger with "anthropic dev setup", "claude local development", "anthropic test locally", "claude dev workflow".
allowed-tools
Read, Write, Edit, Bash(npm:*), Bash(pip:*)
compatibility
Designed for Claude Code
version
1.1.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, anthropic, claude, development, testing

Anthropic Local Dev Loop

Overview

Set up a fast, cheap development workflow for building with Claude.

Prerequisites

  • Node.js 18+ or Python 3.10+
  • ANTHROPIC_API_KEY environment variable set
  • npm or pip package manager

Instructions

Step 1: Project Setup
bash
mkdir my-claude-app && cd my-claude-app
npm init -y
npm install @claude-ai/sdk dotenv tsx

# Create .env (never commit this)
echo 'ANTHROPIC_API_KEY=sk-ant-api03-...' > .env
echo '.env' >> .gitignore
Step 2: Create a Test Script
typescript
// src/test-prompt.ts
import 'dotenv/config';
import Anthropic from '@claude-ai/sdk';

const client = new Anthropic();

async function main() {
  const message = await client.messages.create({
    model: 'claude-haiku-4-5-20251001', // Use Haiku for dev — 20x cheaper than Opus
    max_tokens: 512,
    messages: [{ role: 'user', content: 'Summarize this in one sentence: ...' }],
  });

  console.log(message.content[0].text);
  console.log(`Cost: ~$${((message.usage.input_tokens * 0.80 + message.usage.output_tokens * 4) / 1_000_000).toFixed(4)}`);
}

main();
Step 3: Run with Hot Reload
bash
# Watch mode — re-runs on file changes
npx tsx watch src/test-prompt.ts

# Or one-shot
npx tsx src/test-prompt.ts

Cost-Saving Dev Tips

TipSavings
Use claude-haiku-4-5-20251001 during development20x cheaper than Opus
Set max_tokens: 256 for testingFewer output tokens billed
Cache your system prompt with prompt caching beta90% off cached input tokens
Use Message Batches for bulk testing (50% off)Half price, 24h turnaround
Log responses locally so you don't re-call for the same input100% savings on repeats

Mock Client for Unit Tests

typescript
// tests/mock-anthropic.ts
export function createMockClient() {
  return {
    messages: {
      create: async (params: any) => ({
        id: 'msg_test',
        type: 'message',
        role: 'assistant',
        model: params.model,
        content: [{ type: 'text', text: 'Mock response for testing' }],
        stop_reason: 'end_turn',
        usage: { input_tokens: 10, output_tokens: 5 },
      }),
    },
  };
}

// In your test:
import { createMockClient } from './mock-anthropic';
const client = process.env.MOCK ? createMockClient() : new Anthropic();

Python Dev Loop

text
pip install anthropic python-dotenv ipython

# Interactive exploration
ANTHROPIC_API_KEY=sk-ant-... ipython
>>> import anthropic
>>> c = anthropic.Anthropic()
>>> r = c.messages.create(model="claude-haiku-4-5-20251001", max_tokens=100, messages=[{"role":"user","content":"hello"}])
>>> r.content[0].text

Output

  • Project scaffolded with SDK, dotenv, and tsx for hot reload
  • Test script running against Claude Haiku (cheapest model)
  • Mock client available for unit tests without API calls
  • Cost estimate printed per request

Error Handling

IssueFix
ANTHROPIC_API_KEY not loadingMake sure dotenv/config is imported first
Slow iterationUse Haiku, reduce max_tokens
High dev costsLog responses, use mocks for unit tests

Examples

See Step 1 (project setup), Step 2 (test script with cost tracking), Step 3 (hot reload), Mock Client section, and Python Dev Loop section above.

Resources

Next Steps

See clade-sdk-patterns for production client configuration.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/.curated/clade-local-dev-loop of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/one-pager.md

Open the folder on GitHubat commit 23ea8d4

Compare with similar skills

Clade Local Dev Loop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Clade Local Dev Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clade Local Dev Loop this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1kAutomated safety check: NotesMIT
Pier Cloudmajiayu000/claude-skill-registry6661 repos~1.1kAutomated safety check: NotesMIT
Plugin Testapache/skywalking-python219—~2.3kAutomated safety check: PassApache-2.0
Code PatternsAedelon/claude-code-blueprint120—~1.2kAutomated safety check: PassCustom licence
BigQuery Slot and Cost Optimizergoogle/skills21k—~2.3kAutomated safety check: PassApache-2.0
Acarshub Tool Additionssdr-enthusiasts/docker-acarshub117—~707Automated safety check: PassGPL-3.0

Similar skills

  • Pier Cloud

    majiayu000/claude-skill-registry

    This skill should be used when the user needs to consume the Pier Cloud (Lighthouse) API for cloud cost management — including JWT authentication, listing contexts, workspaces, workspace groups, and…

    666 GitHub starsUsed in 1 repo~1.1k tokens
    DevOps & CloudAuto-check: notes
  • Plugin Test

    apache/skywalking-python

    Build Docker test images and run SkyWalking Python plugin/unit/e2e tests locally, mirroring the CI pipeline

    219 GitHub stars~2.3k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Code Patterns

    Aedelon/claude-code-blueprint

    Reference patterns for REST APIs, pytest/vitest testing, Docker multi-stage builds, GitHub Actions CI/CD, PostgreSQL, TypeScript generics, Python async, and React Server Components.

    120 GitHub stars~1.2k tokensUpdated 7 mo ago
    DevOps & CloudAuto-check passed
  • Official

    Analyzes BigQuery slot use, query costs and execution bottlenecks from INFORMATION_SCHEMA to diagnose slow queries, slot contention and unpartitioned scans.

    21k GitHub stars~2.3k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Acarshub Tool Additions

    sdr-enthusiasts/docker-acarshub

    Use ONLY when working in the docker-acarshub repository AND a task may require adding a system tool, npm package, or other dependency.

    117 GitHub stars~707 tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • E2E Live Docker

    receptron/mulmoclaude

    実 Claude API + Docker サンドボックスを叩く docker カテゴリの総合テストを実行する。DISABLESANDBOX を unset した状態で yarn dev が起動済みであることが前提(サンドボックス off だと全 test が test.skip で抜ける)。

    367 GitHub stars~544 tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Analyzing Text With NLP

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to perform natural language processing and text analysis using the nlp-text-analyzer plugin.

    2.8k GitHub starsUsed in 1 repo~819 tokens
    Auto-check passed
  • Building Neural Networks

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill allows AI assistant to construct and configure neural network architectures using the neural-network-builder plugin.

    2.8k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Detecting Data Anomalies

    jeremylongshore/tons-of-skills-marketplace

    Process identify anomalies and outliers in datasets using machine learning algorithms.

    2.8k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Explaining Machine Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill enables AI assistant to provide interpretability and explainability for machine learning models.

    2.8k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Optimizing Prompts

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill optimizes prompts for large language models (llms) to reduce token usage, lower costs, and improve performance.

    2.8k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed

Questions about Clade Local Dev Loop

What does Clade Local Dev Loop do?

Set up a fast local development loop for building with the Anthropic API — Use when working with local-dev-loop patterns. Clade Local Dev Loop is an agent skill from jeremylongshore/tons-of-skills-marketplace. Set up a fast local development loop for building with the Anthropic API — Use when working with local-dev-loop patterns.

When should I use Clade Local Dev Loop?

Clade Local Dev Loop fits situations like: working with local-dev-loop patterns; with anthropic dev setup; Claude local development; anthropic test locally.

How do I install Clade Local Dev Loop in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clade-local-dev-loop -a claude-code`. Or copy the skill folder (skills/.curated/clade-local-dev-loop in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/clade-local-dev-loop in your project. Claude Code loads it when a task matches its description.

How do I install Clade Local Dev Loop in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clade-local-dev-loop -a codex`. Or copy the skill folder (skills/.curated/clade-local-dev-loop in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/clade-local-dev-loop in your project. Codex loads it when a task matches its description.

Can I use Clade Local Dev Loop in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clade-local-dev-loop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clade-local-dev-loop, .gemini/skills/clade-local-dev-loop, .github/skills/clade-local-dev-loop and .opencode/skills/clade-local-dev-loop in your project.

What does Clade Local Dev Loop need to run?

Going by SKILL.md and its folder, Clade Local Dev Loop needs the command-line tools its instructions call (npm and npx) and credentials named ANTHROPIC_API_KEY. Our summary lists: Python 3; Node.js; A credential in ANTHROPIC_API_KEY. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(npm:*), Bash(pip:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Clade Local Dev Loop access the network?

SKILL.md names 1 domain. As links in the text: platform.claude.com. This is read from the text; nothing was executed.

Is Clade Local Dev Loop safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Clade Local Dev Loop use?

Clade Local Dev Loop is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clade Local Dev Loop use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 371 tokens, read only when the agent opens those files.

What are the alternatives to Clade Local Dev Loop?

Skills that share tags, products or a category with Clade Local Dev Loop: Pier Cloud (majiayu000/claude-skill-registry, 666 stars), Plugin Test (apache/skywalking-python, 219 stars), Code Patterns (Aedelon/claude-code-blueprint, 120 stars) and BigQuery Slot and Cost Optimizer (google/skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clade Local Dev Loop?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,821 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 8, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.