Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

clade-architecture-variants

Skill by jeremylongshore

Describes five architecture patterns for building Claude-powered apps: chatbot, RAG, agent, content pipeline and evaluation. It is for developers choosing how to structure a Claude application, with TypeScript code for each pattern.

  • Score 79
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install clade-architecture-variants

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-architecture-variants ~/.claude/skills/clade-architecture-variants

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install clade-architecture-variants in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This Claude Code skill describes five architecture patterns for building Claude-powered applications. The patterns are a stateless chatbot, retrieval-augmented generation (RAG) with vector search, a tool use agent loop, a batch content pipeline, and evaluation where Claude grades other outputs. Each pattern includes TypeScript code, and the skill ends with a comparison table of latency, cost, and complexity.

The skill is meant for developers deciding how to structure an application that uses Claude. It notes that RAG needs an embedding provider other than Anthropic, such as Voyage, OpenAI, or Cohere. It also says batch processing is 50% cheaper and completes within 24 hours. The skill assumes the user has already completed the related install and model inference skills.

Written from the project's SKILL.md and checked against it.

What it can do

  • Chatbot patternProxies Claude with a system prompt and streams responses from a stateless API wrapper.
  • RAG patternEmbeds a question, searches a vector database, and answers from the retrieved context.
  • Agent patternRuns a tool use loop where Claude picks tools and the app executes them until done.
  • Content pipeline patternProcesses many documents asynchronously through the Claude message batches API.
  • Evaluation patternUses Claude as a judge to score other AI outputs on accuracy, relevance, and completeness.
  • Pattern comparison tableCompares the five patterns by latency, cost, and complexity.

What you need

  • Completed clade-install-auth skill
  • Completed clade-model-inference skill
  • Clear use case requirements for latency, cost, and complexity
  • Vector database and embedding model for RAG (Voyage, OpenAI, or Cohere)

Try asking

  • Compare the chatbot and RAG patterns for my support app
  • Show me the agent tool use loop pattern in TypeScript
  • Which pattern fits batch extraction from thousands of documents?

Good to know

  • Embeddings for RAG should come from Voyage, OpenAI, or Cohere, not Anthropic.
  • Batch processing completes within 24 hours.
  • API error handling is covered by a separate skill, clade-common-errors.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/clade-architecture-variants/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEdit

  • SKILL.md6 KB
  • references/one-pager.md2 KB

Alternatives to clade-architecture-variants

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

clade-architecture-variants: common questions

Which Claude pattern suits a knowledge base?

The source recommends the RAG pattern for documentation Q&A, knowledge bases, and support with source citations.

Which embedding providers does the RAG pattern use?

The source says to use Voyage, OpenAI, or Cohere for embeddings, and not Anthropic.

Which pattern is cheapest for bulk processing?

The content pipeline uses batch processing with a Haiku model and is described as 50% cheaper, completing within 24 hours.

How do I install clade-architecture-variants?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is clade-architecture-variants free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is clade-architecture-variants safe to use?

It scores 79 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-architecture-variants?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

clade-architecture-variants Install

Add to stack

Loading.