archetype

archetype is a command for Claude Code from TheLobbi/claude. It costs 0 tokens per session (3,009 once invoked), scanned A, original, MIT.

Commands for creating and managing plugin templates called archetypes. An archetype is a ready-made starting structure for a particular kind of plugin, such as an API integration or testing tool.

In plain words
What is it for?
Use them to list archetypes, inspect their requirements, create a plugin from one, or validate an archetype directory.
Why use it?
They reduce repeated setup work and help new plugins follow standard structures and patterns.

Command for Claude Code

Part of the claude-orchestration plugin — 49 commands, 9 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/thelobbi/claude/archetype
Clone the repo
git clone --depth 1 https://github.com/TheLobbi/claude

Made for: Claude Code.

Or install claude-orchestration, the plugin that ships this one along with the rest of its 49 commands, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for archetype

README.md
[![agentmods](https://agentmods.dev/badge/commands/thelobbi/claude/archetype.svg)](https://agentmods.dev/commands/thelobbi/claude/archetype)
Your own site
<a href="https://agentmods.dev/commands/thelobbi/claude/archetype"><img src="https://agentmods.dev/badge/commands/thelobbi/claude/archetype.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,009 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.03009
Opus 5 $0.00000 $0.01504
Sonnet 5 $0.00000 $0.00602
Haiku 4.5 $0.00000 $0.00301

Measured 3d ago against content hash 4eae7ae6a554, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

archetype scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

import { exec } from 'child_process';
.claude/commands/archetype.md · 494 lines

How it starts

The opening of the file, as written. The whole thing — 494 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Archetype Command

Manage plugin archetypes for creating standardized plugin templates with pre-configured patterns and best practices.

Usage

# List available archetypes
/archetype list

# Show archetype details
/archetype info <name>

# Create plugin from archetype
/archetype create <name>

# Validate archetype structure
/archetype validate <path>

# Publish archetype (coming soon)
/archetype publish <path>

Quick Start

List Available Archetypes

/archetype list

Shows all available archetypes grouped by category:

  • integration: API clients, service integrations
  • data: Data processors, ETL pipelines
  • ui: Frontend components, UI libraries
  • workflow: Automation, orchestration
  • analytics: Dashboards, visualizations
  • testing: Test utilities, mock factories

Get Archetype Information

/archetype info api-integration

Shows detailed information including:

  • Description and category
  • Required and optional variables
  • Features and capabilities
  • Template files
  • Dependencies
  • Usage examples

Create Plugin from Archetype

/archetype create api-integration

Interactive mode:

  1. Prompts for required variables
  2. Validates input
  3. Generates plugin files
  4. Runs hooks
  5. Shows summary

Non-interactive mode:

/archetype create api-integration \
  --output ./my-plugin \
  --variable pluginName=my-api \
  --variable apiName=MyAPI \
  --variable baseUrl=https://api.example.com \
  --variable authType=api-key \
  --non-interactive

Available Archetypes

1. api-integration

Purpose: REST API client plugins

Variables:

  • pluginName (required) - Plugin name in kebab-case
  • apiName (required) - API service name
  • baseUrl (required) - API base URL
  • authType (required) - Authentication type: oauth, api-key, jwt, basic, none
  • features - Optional features: retry, rate-limit, caching, logging, pagination
  • author - Author name
  • description (required) - Plugin description

Read the full file on GitHub · 494 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 494 lines · 0 tokens per session scan A 4eae7ae6a554

Subscribe to this mod's changes

archetype is a command published in the GitHub repository TheLobbi/claude (21 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,009 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.