Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
claude-code-template logo

claude-code-template

scotthavird-marketplace

OtherClaude Codeby scotthavird

Summary

Comprehensive Claude Code starter template.

Install to Claude Code

/plugin install claude-code-template@scotthavird-marketplace

Run in Claude Code. Add the marketplace first with /plugin marketplace add scotthavird/claude-code-template if you haven't already.

README.md

Claude Code Template

An opinionated, comprehensive Claude Code starter template — installable as a plugin, forkable as a base repo, runnable in a devcontainer.

Covers: slash commands, subagents, auto-triggered skills, output styles, status line, hooks, MCP servers, CI/CD (GitHub Actions + GitLab), Agent SDK examples, devcontainer with egress firewall, and more.

Install as a plugin

If you already use Claude Code:

/plugin install scotthavird/claude-code-template

This gives you all commands, agents, skills, output styles, and hooks from this template, without forking the repo.

Fork as a base

1. Use this template to create a new repo. 2. Open in a container — VS Code / Cursor will prompt to "Reopen in Container", or use Cmd+Shift+PDev Containers: Reopen in Container. Claude Code, Prettier, ESLint, Ruff, and GH extensions are pre-installed. 3. Authenticate — copy .claude/settings.local.json.example.claude/settings.local.json and add your ANTHROPIC_API_KEY, or run claude /login. 4. Start a sessionclaude in the repo root. 5. Try a command/analyze-project, /review, or /debug.

What's inside

Slash commands (12)

/analyze-project /commit /pr /test /lint-fix /review

/security-review /debug /refactor /explain /doc /implement-issue

Subagents (7)

security-auditor doc-generator test-runner pr-reviewer

refactor-planner debugger dependency-auditor

Skills (7, auto-triggered)

code-review db-migration test-writing api-design

performance-audit accessibility effort-aware

Output styles (3)

concise educational review

Hooks (real, not just logging)

  • Format on save — Prettier / Ruff / gofmt / rustfmt
  • Block dangerous bash — destructive patterns, force-push to main, pipe-to-shell (with quote/comment-aware matching)
  • Inject context on session start — branch, commits, open PRs
  • Redact secrets from tool output — uses v2.1.122 updatedToolOutput to scrub keys/JWTs/PATs before the model sees them
  • PreCompact checkpoint — saves session state before compaction drops context (v2.1.105+)
  • Session cost on stop — total cost plus per-tool duration_ms breakdown (v2.1.121+)

CI/CD

  • .github/workflows/claude.yml@claude mentions in issues/PRs
  • .github/workflows/claude-review.yml — automatic review on new PRs
  • .gitlab-ci.yml — GitLab equivalent
  • scripts/ci-review.sh — headless-mode example

Agent SDK

sdk/ has TypeScript and Python starters including a custom-tool example.

DevContainer

  • Node 20 + Python 3.12 + Docker-in-Docker
  • Egress firewall (init-firewall.sh) restricting outbound network to an

allowlist (Anthropic API, GitHub, npm, PyPI)

  • ~/.claude mounted so global settings and auto-memory persist

Directory layout

.claude-plugin/      plugin.json + marketplace.json
.claude/             commands, agents, skills, output-styles, statusline, settings
.devcontainer/       container + firewall
.github/workflows/   Claude Code CI
.mcp.json            filesystem, memory, git, fetch
docs/                best-practices, permission-modes, hooks-cookbook, plugins, agent-sdk, integrations
scripts/             hook scripts + log analyzer + CI review
sdk/                 TypeScript + Python SDK starters
CLAUDE.md            persistent system prompt

Documentation

Customization

Add a slash command

Create .claude/commands/my-command.md:

---
description: What this command does
argument-hint: [arg1]
allowed-tools: Bash(git:*), Read
---

Your prompt here. $ARGUMENTS becomes the user's input.

Add a subagent

Create .claude/agents/my-agent.md:

---
name: my-agent
description: When this agent should be used.
tools: Read, Grep, Glob, Bash
model: sonnet
---

System prompt for the agent...

Add a skill

Create .claude/skills/my-skill/SKILL.md:

---
name: my-skill
description: Triggers on X, Y, Z contexts.
allowed-tools: Read, Grep
---

Instructions for the skill...

Security notes

  • logs/ is gitignored — hook logs may contain sensitive prompts/outputs.
  • .claude/settings.local.json is gitignored — put personal API keys there.
  • Permission rules deny Read(.env), Read(./secrets/*), Bash(rm -rf:), Bash(sudo:*), and pipe-to-shell patterns by default.
  • The PreToolUse hook block-dangerous-bash.sh provides a second layer.
  • The devcontainer firewall restricts egress to a fixed allowlist.

Learn more

Contributing

Fork, customize, share. If you add a broadly useful command / skill / agent, PRs are welcome.

License

MIT — see LICENSE.

Related plugins

Browse all →