Claude-Abo

agent
Security Audit
Fail
Health Warn
  • License — License: NOASSERTION
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Fail
  • exec() — Shell command execution in global-config/skills/brand/scripts/extract-colors.cjs
  • fs module — File system access in global-config/skills/brand/scripts/extract-colors.cjs
  • fs module — File system access in global-config/skills/brand/scripts/inject-brand-context.cjs
  • child_process — Shell command execution capability in global-config/skills/brand/scripts/sync-brand-to-tokens.cjs
  • fs module — File system access in global-config/skills/brand/scripts/sync-brand-to-tokens.cjs
  • fs module — File system access in global-config/skills/brand/scripts/validate-asset.cjs
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

A portable Claude Code setup template — 45 curated skills with provenance, cost-aware model routing, git safety hooks, and a cross-project knowledge vault. Adapt, don't run as-is.

README.md

English | ภาษาไทย | 简体中文 | 日本語 | Español | 한국어 | Português (Brasil) | Français | Deutsch | Русский

Claude Code Clone Template banner

License: MIT
Skills
Languages
Template

rotating feature highlights

A portable snapshot of one person's Claude Code setup — instructions, skills, hooks, and a knowledge vault, packaged so a fresh Claude Code instance can bootstrap the same habits on a new machine. A template to adapt, not a config to run as-is.

Read the full pitch

Global instructions, engineering rules, 45 curated skills (7 self-authored — 3 written from scratch, 4 self-written wrappers around third-party tools — 1 adapted from an upstream skill, the rest adopted from upstream repos, all with per-skill provenance in sources.json), real memory examples, a skill-provenance manifest, and a cross-project knowledge vault — packaged so a fresh Claude Code instance (or the person setting one up) can bootstrap the same workflow habits and capabilities on a new machine. This is a template to adapt, not a config to run as-is: personal identifiers have been scrubbed and replaced with placeholders, and several sections only make sense if you also adopt the tools they describe.

Getting started (quickstart)

Shortcut: clone the repo, open it in Claude Code, and run /adopt — it interviews you and does steps 2, 3, 5, and 7 below for you, checking off progress in a resumable journal file. Step 6 (installing the plugin ecosystems themselves) is deliberately out of scope for /adopt — that one's still on you.

Clone, then copy configs, then run /adopt, then verify

# Step Where
1 Clone the repo anywhere convenient
2 Decide: want local Ollama pre-compression? see Optional: Local AI
3 Copy configs into ~/.claude/ CLAUDE.md, agents/*.md, hooks/*.py, skills/*, tools/ — rewrite "Installed Plugins" first
4 Merge settings global-config/settings.example.json → ~/.claude/settings.json (replace <YOUR_HOME>)
5 Find-and-replace placeholders full list in How to adopt this, step 8
6 Install the plugin ecosystems see What you'll still need to install
7 Copy notes/ + memory-examples/ (optional) your own vault / auto-memory folder
8 Verify ask for an implementation plan — does /plan-pro fire?

Multi-agent shop (Codex, Cursor, Gemini CLI, ...)? Also copy global-config/AGENTS.md into each project root — see Compatibility with other AI coding tools.

The rest of this README explains each piece in detail.

What's in here

claude-clone-template/
├── README.md
├── LICENSE                                # MIT license for this repo's own content
├── ATTRIBUTION.md                         # Credits for the upstream repos the third-party skills were adopted from
├── .claude/commands/adopt.md              # Run `/adopt` in this repo to interview + auto-apply the steps below
├── global-config/
│   ├── CLAUDE.md                          # Global instruction file (~/.claude/CLAUDE.md equivalent)
│   ├── AGENTS.md                          # Portable subset of CLAUDE.md for non-Claude-Code agents (Codex, Cursor, Gemini CLI, ...)
│   ├── settings.example.json              # Sanitized ~/.claude/settings.json — hooks, plugins, model default
│   ├── agents/                            # 4 pinned-model subagent definitions (opus, sonnet-worker, haiku-batch, fable-medium)
│   ├── hooks/block-dangerous-git.py       # PreToolUse gate that asks before risky git commands
│   ├── hooks/graphify-auto-update.py      # PostToolUse hook — keeps the graphify knowledge graph in sync after edits
│   ├── rules/ecc-common/                  # 10 engineering-discipline rule files (ecc plugin ecosystem)
│   ├── skills/                            # 45 curated skill folders (the actual SKILL.md instructions, not just an index — see sources.json for provenance)
│   ├── SKILLS_INDEX.md                    # Personal index of installed skills/plugins + when to use which
│   ├── memory-examples/                   # 7 real auto-memory entries showing the memory system's format/patterns
│   ├── templates/                         # 2 starter templates to copy into a new repo (project-CLAUDE.md, conventions.md)
│   └── tools/
│       ├── skill-update-check/
│       │   ├── check.ps1                  # Weekly update checker — reads sources.json from this same folder
│       │   └── sources.json               # Real provenance manifest: 45 personal skills + 3 pip + 2 npm + 1 binary tool
│       └── ollama/ollama-digest.ps1       # On-demand local-model pre-digest helper (see the Ollama section below)
└── notes/                                 # 3 notes: a personal cross-project "second brain" vault (example content)

global-config/CLAUDE.md

The heart of the setup. It encodes:

  • Cost-aware model routing — main loop on your choice of Opus 5.5 (judgment-heavy work) or Sonnet 5.5 (cheaper routine sessions) as orchestrator, delegating to Haiku/Sonnet/Opus/Fable subagents by task difficulty, with hard rules about who reads raw files vs. who reads conclusions.
  • Heavy-execution offloading — spawning big jobs into separate sessions instead of bloating (and billing) the current one.
  • Planning workflow — /plan-pro as the default planner.
  • Second-brain vault convention — a single rule ("is it tied to one repo?") deciding what lives in the vault vs. in a repo's docs/ADRs.
  • Git safety hook — a PreToolUse gate that asks before destructive git commands.
  • graphify auto-sync hook — a PostToolUse hook that keeps the knowledge graph up to date after every edit, without blocking the edit itself.
  • Auto Mode classifier workaround — what to do when Auto Mode's own safety classifier silently re-blocks a command you already approved in chat, including a permanent permissions.ask fix for the "editing your own Claude Code config" case specifically.
  • Shell gotchas — Bash tool vs. PowerShell tool heredoc syntax rules (Windows-specific pain, learned the hard way).
  • Context self-monitoring — when Claude should proactively suggest /compact.
  • Anti-AI-tell writing rules — a full Thai + English ruleset for making drafted text read as human-written (vocab to avoid, structural patterns, register matching); the largest, most broadly reusable piece in the file. Backing detail lives in memory-examples/.
  • PR draft-first default, ask-before-scheduling cron/cloud agents, terse narration during long-running commands, a claude-in-chrome shared-tab-group gotcha for parallel sessions, and a proactive Supabase RLS check for any project using Supabase.

global-config/rules/ecc-common/

General engineering discipline from the ecc (everything-claude-code) plugin ecosystem: TDD workflow, immutability, commit format, security checklist, code-review severity levels, agent delegation. Only useful if you also run ecc (see "What you'll still need to install" below).

global-config/skills/

45 curated SKILL.md folders (plus supporting scripts/reference/data files where a skill has them) covering writing/marketing craft (copywriting, copy-editing, hallmark, marketing-council, pricing...), engineering process (debug-mantra, poka-yoke, second-brain, dependency-audit, secrets-audit...), design (design-system, ui-ux-pro-max, banner-design, mobbin-references...), and meta-skills for managing Claude Code itself (skillify, grilling, second-brain, graphify, plan-pro, shipping-a-branch...). poka-yoke, plan-pro, and shipping-a-branch are self-authored from scratch; graphify, dembrandt, markitdown, and mobbin-references are self-written wrapper skills whose SKILL.md is original but whose underlying tools are third-party (credited in ATTRIBUTION.md and version-tracked in sources.json); deslop-defaults is adapted (harvested from ibelick/ui-skills and rewritten stack-agnostic); the rest are adopted from upstream repos — see sources.json for per-skill provenance and ATTRIBUTION.md for upstream credits. These are genuinely reusable prompt-engineering artifacts, not just descriptions of skills — copy them into ~/.claude/skills/ and they work immediately.

See all 45 skills, grouped by category (click to expand)

Engineering process & workflow (15)

Skill What it does
debug-mantra Four-step debugging discipline (reproduce → trace → falsify → cross-reference) recited before proposing any fix.
poka-yoke (self-authored) Mistake-proofing review — makes a bad state impossible/obvious at the source instead of catching it after the fact.
post-mortem Writes the canonical root-cause writeup after a bug is fixed and validated.
scrutinize Outsider-perspective review of a plan/PR/diff — checks intent first, then traces the real code path.
shipping-a-branch (self-authored) Drives commit → push → PR → review → merge end to end, confirming each risky step separately.
plan-pro (self-authored) Implementation-plan writer with a spawned multi-agent review loop and an HTML before/after output.
dependency-audit Checks project dependencies for known CVEs and supply-chain risks.
secrets-audit Scans source, git history, and infra for leaked credentials and weak secrets-management posture.
prompt-injection Audits apps/agents for prompt-injection and LLM permission-boundary vulnerabilities.
decide Structured decision workflow (37signals-style question set) that also archives the rationale.
unstuck Lateral-thinking technique bank for cracking a roadblock instead of reporting "not possible".
teach Teaches the user a new concept/skill within the current workspace.
wait-what Flags a message that didn't land and re-pitches it.
skillify Creates, adapts, or updates a Claude Code skill (from chat, video, dump, or an external repo).
wizard Generates an interactive bash wizard for steps only a human can perform (credentials, dashboards, migrations).

Design & UI (11)

Skill What it does
banner-design Designs social/ad/web/print banners across many art-direction styles.
design Broad design skill — logos, CIP mockups, slides, banners, icons, social photos.
design-system Three-layer design-token architecture (primitive → semantic → component) plus slide generation.
deslop-defaults (adapted) Structural defaults that stop AI-generated UI from looking averaged-out (z-index, accent restraint, states).
hallmark Anti-AI-slop design skill for greenfield pages, redesigns, and design extraction from URLs/screenshots.
ui-styling Builds accessible UI with shadcn/ui, Tailwind, and dark-mode-aware theming.
ui-ux-pro-max Searchable UI/UX database — styles, palettes, font pairings, UX guidelines, motion presets, chart types.
mobbin-references Pulls real-app reference screenshots (onboarding, paywalls, empty states...) before a UI is designed.
dembrandt (wrapper) Extracts a live website's actual design tokens (colors, type, spacing) via DOM/CSS inspection.
image Generates/edits/optimizes marketing images (heroes, social graphics, mockups, OG images).
slides Builds strategic HTML presentations with Chart.js and design-token theming.

Marketing, content & brand (13)

Skill What it does
brand Brand voice, visual identity, messaging frameworks, and consistency checks.
community-marketing Community-led growth strategy (Discord/Slack/forum, ambassador programs, advocacy).
content-strategy Decides what content to create — topic clusters, editorial calendars, content pillars.
copy-editing Edits/tightens/refreshes existing marketing copy.
copywriting Writes new marketing copy for landing/pricing/feature/about pages.
launch Plans a product launch, feature announcement, or go-to-market checklist.
management-talk Rewrites engineer-to-engineer writing for leadership, shaped to the target channel (Slack/email/standup).
marketing-council Simulated advisory board of named marketers debating a positioning question.
marketing-ideas Growth/marketing idea generator for SaaS and software products.
marketing-psychology Applies behavioral-science principles (anchoring, social proof, framing) to marketing decisions.
pricing Pricing/packaging strategy and pricing-page audits.
product-marketing Builds the reusable product/audience/positioning context doc other marketing skills reference.
social Social content creation, scheduling, repurposing, and social listening across platforms.

Research & knowledge management (6)

Skill What it does
deep-research Multi-source, multi-pass research brief with citations, contradictions, and gaps.
graphify (wrapper, self-authored) Turns any input (code/docs/papers/images) into a clustered knowledge graph with an audit report.
grilling Interviews the user relentlessly to stress-test a plan before building it.
second-brain Capture/compile/query/lint/connect workflow for a personal Obsidian-style knowledge vault.
watch-video Extracts transcript/visual/multimodal content from any yt-dlp-supported video source.
markitdown (wrapper) Converts PDFs/slides/sheets/audio/HTML/etc. into clean Markdown for LLM/RAG use.

Full provenance (source repo, adoption date, self-authored vs. adopted vs. adapted) for every entry is in global-config/tools/skill-update-check/sources.json; upstream credits are in ATTRIBUTION.md.

global-config/memory-examples/

7 real entries from the owner's Claude Code auto-memory system (not project-specific facts — portable "how I work" habits): a naming-convention disambiguation for cross-session messaging, the local-Ollama-as-pre-compression pattern, a rule about what "update the skill notebook" actually means operationally, a shell-quoting gotcha (\b silently becoming a backspace byte), a feedback entry on how aggressively to trim context bloat, and the full backing detail (vocab tables + before/after examples) for the anti-AI-tell writing rules in CLAUDE.md, in both Thai and English. These exist to show the shape of a good memory entry (rule + why + how-to-apply) as much as their specific content — see global-config/rules/ecc-common/ for how memory fits into the broader workflow, and CLAUDE.md's "จำ/บัญญัติ" section for the local-vs-global memory distinction this owner uses.

global-config/tools/skill-update-check/sources.json

The owner's actual skill/tool adoption manifest — real provenance data (source repo URLs, install notes, version history) for all 45 personal skills (including the self-authored and adapted ones) plus 3 pip packages, 2 npm packages, and 1 binary tool. Paired with check.ps1, this is what lets a claude-clone-template adopter track upstream updates to the skills they copied into ~/.claude/skills/, the same way the original owner does. Update last_seen_commit values are mostly unknown/stale from the recipient's perspective until they run check.ps1 -Ack once to establish their own baseline.

global-config/templates/

Two small starter files (project-CLAUDE.md, conventions.md) to copy into a new repo on first setup — a ≤45-line "router" project CLAUDE.md and a conventions/green-gate template. Each has a comment block with a fill-in-the-blank PRESET for the stack you're bootstrapping (currently just a Python-web example); add your own preset the same way if your stack needs one.

notes/

Example content from the owner's Obsidian second-brain vault: local Ollama model inventory, bookmarked repos, and misc reference notes. These show what kind of thing belongs in a cross-project vault — they are not universal must-haves. Keep the structure idea, replace the content with your own over time.

How to adopt this

  1. Copy global-config/CLAUDE.md into your own ~/.claude/CLAUDE.md. Merge it with what you already have, or replace outright — your call. Read it first; delete sections that don't apply to you. Rewrite the "Installed Plugins" section before you do anything else with this file — it currently asserts specific plugins (superpowers, ecc, pordee, lazyweb, andrej-karpathy-skills) are installed and enabled, and tells Claude not to mention installing them. That's true for the original owner, not for you. Replace it with your own actual plugin list, or delete it until you've installed something.
  2. Copy global-config/agents/*.md into ~/.claude/agents/ and global-config/hooks/*.py into ~/.claude/hooks/. These are what make the model-routing rules, the git safety gate, and the graphify auto-sync hook in CLAUDE.md actually functional, rather than just prose.
  3. Copy global-config/skills/* into ~/.claude/skills/. This is the bulk of the actual value — 45 working skill folders, not just descriptions of them.
  4. Merge global-config/settings.example.json into your own ~/.claude/settings.json (replace <YOUR_HOME> with your real home path first). Merge, don't overwrite, if you already have a settings.json — take the hooks.PreToolUse/hooks.PostToolUse entries, the permissions.ask block, and whatever else you want from enabledPlugins. The shipped hook commands use the Windows py launcher; on macOS/Linux, change them to python3 first.
  5. Copy global-config/rules/ecc-common/ into ~/.claude/rules/ only if you install the ecc plugin. Otherwise skip.
  6. Copy global-config/memory-examples/*.md into the auto-memory folder for whichever project you want them to apply to (Claude Code auto-memory is per-project, at ~/.claude/projects/<project>/memory/), or read them as reference and write your own from scratch.
  7. Copy notes/ into your own second-brain vault location (any folder Obsidian or plain markdown tools can see), or skip entirely if you don't want a vault.
  8. Find-and-replace every placeholder — this is the most important step:
    • <YOUR_USERNAME>, <YOUR_HOME> → your actual Windows/system username and home path
    • <YOUR_VAULT_PATH> → wherever you keep (or plan to keep) your second-brain vault
  9. Copy global-config/tools/ (both skill-update-check/ and, if you kept Ollama, ollama/) into ~/.claude/tools/, then set your own baseline in sources.json: run check.ps1 -Ack once after copying the skills over, so last_seen_commit reflects a starting point you control rather than the original owner's history.

What you'll still need to install separately

This repo contains references to and rules for skill ecosystems — not the ecosystems themselves. For the CLAUDE.md instructions to mean anything, you need to install:

  • superpowers (obra/superpowers) — brainstorming, writing-plans, TDD, debugging skills
  • ecc / everything-claude-code (affaan-m/ECC) — agents, skills, commands, MCP servers
  • Any other plugins named in SKILLS_INDEX.md that you decide you want

Install them via Claude Code's plugin system on the new machine, then reconcile SKILLS_INDEX.md with what you actually installed.


A note on subscription plan and the Fable 5.1 tier

CLAUDE.md's routing ladder tops out at a fable-medium subagent, which needs a Max plan — on Pro, spawning it just fails. /adopt asks about this and fixes it for you.

Manual fix if you're not on Max

The model-routing ladder in CLAUDE.md tops out at a fable-medium subagent — a deliberately expensive, rarely-used escalation tier for the hardest problems. The original owner is on a Max plan, where that model is available. If you're on Pro (or any plan without Fable 5.1 access), spawning fable-medium will just fail.

Before copying CLAUDE.md as-is, check which plan you're on. If you don't have Fable 5.1:

  • Delete the fable-medium paragraphs and the "สุดบันได" (top-of-ladder) bullet from the model-routing section.
  • Change the ladder's ceiling to stop at opus — the routing logic (escalate to Opus on hard/high-stakes work) still holds, it just won't have a level above Opus to escalate to.
  • Drop global-config/agents/fable-medium.md from what you copy into ~/.claude/agents/.

/adopt asks this as part of its interview and does this edit for you; if you're copying files by hand instead, do it yourself so Claude doesn't keep trying to spawn a subagent your plan can't reach.


Optional: Local AI (Ollama) pre-compression

A free, lossy pre-compression tier — a local model digests long low-stakes text before it hits a paid model's context. Zero capability added, pure cost-saver. Skippable; nothing else here depends on it.

Details — do you want this?

The original setup uses local Ollama models as a free, lossy pre-compression tier — piping long low-stakes text (logs, verbose docs) through a local model to digest it before it enters a paid model's context. It sits below Haiku in the cost ladder and is not a routing tier: no tool access, no repo context, text in / text out only. It saves money; it adds no capability. Nothing else in this repo depends on it.

So, a question you need to answer for yourself: do you want to set up local Ollama models for this?

If no

Skip this entire section. Delete the Ollama paragraphs from your copy of CLAUDE.md and drop notes/local-ollama-models.md. Everything else works fine without it.

If yes

  1. Install Ollama from ollama.com.
  2. Decide where the model store lives. Models are large (a 27B model is tens of GB) and the default location is on your system drive (%USERPROFILE%\.ollama on Windows). If your system drive is tight on space, relocate the store to a bigger drive — the original setup used D:\ollama for exactly this reason. On Windows, set the OLLAMA_MODELS environment variable to your chosen path before pulling models; other platforms have equivalent env-var or symlink approaches.
  3. Pull at least one general-purpose instruct model (e.g. ollama pull qwen2.5:7b-instruct or a similar ~7–9B instruct model — small enough to run fast, good enough to summarize). The original inventory in notes/local-ollama-models.md shows one possible spread: a heavy 27B for best quality, mid-size 7–9B models for speed/reasoning/code, and one vision-capable model (llava:7b) — treat that list as inspiration, not a shopping list.
  4. Learn the usage pattern: pipe a file in, get a digest out —
    Get-Content <file> | ollama run <model> "<instruction>"
    
    (Pipe the file; don't stuff long prompts into the argument.)
  5. Know the one hard rule: local-model output is never ground truth. It's lossy compression for low-stakes text. If a decision depends on the content, the paid model reads the original — always.

This is 100% optional and skippable. It exists purely to shave token costs on bulk text.


Compatibility with other AI coding tools

Two files ship instead of one: CLAUDE.md (Claude Code-only) and AGENTS.md (the portable subset — agents.md, also read by Codex, Cursor, Gemini CLI, Copilot).

How the two interact

This template is built specifically for Claude Code, but as of Claude Code 2.1.277 (September 2026), Claude Code itself also reads AGENTS.md as a fallback when a project has no CLAUDE.md — the same convention Codex CLI, Cursor, Gemini CLI, and GitHub Copilot already read. That's why this template ships two files instead of one:

  • global-config/CLAUDE.md — the full setup: cost-aware model routing, /plan-pro, the skill catalog, hooks, subagent routing, everything that only means something inside Claude Code.
  • global-config/AGENTS.md — the portable subset (coding style, git workflow, testing, code review, security checklist, common patterns) with every Claude Code-only mechanism stripped out. Drop it into any project and any AGENTS.md-aware agent picks it up, Claude Code included.

If a project has both files, Claude Code reads CLAUDE.md and ignores AGENTS.md — the two aren't merged, so don't expect the Claude Code-specific rules to apply just because AGENTS.md is also present. Other tools (Codex, Cursor, etc.) only ever read AGENTS.md; they have no concept of CLAUDE.md, the Skill tool, settings.json hooks, or subagent definitions, so those stay Claude Code-only no matter what.

What else can be adapted by hand if you want more than the AGENTS.md subset:

  • Each skill under global-config/skills/<name>/SKILL.md is just a markdown instruction file. You can paste one into another tool's custom instructions, but you lose automatic triggering, and any bundled scripts assume a shell the tool can actually run.
  • Hooks (settings.json) and the subagent files (agents/*.md) are Claude Code-only — there's no equivalent to port them to.

If you use Codex/Cursor/Gemini CLI day to day, AGENTS.md gets you the engineering-discipline rules out of the box; the rest of the repo (skills, hooks, the .docx fixes) is still there as reference material to copy/paste from.


Caveat: this is one person's setup

This snapshot comes from a specific workflow: a Thai-English bilingual user on a Windows machine. That shows everywhere — the bilingual sections in CLAUDE.md, the PowerShell-vs-Bash gotchas.

Adopt what's useful, discard what isn't. None of this is prescriptive best practice — it's what worked for one person, written down well enough to be portable. The real value is the shape of the system (routing by cost, offloading heavy work, one home per piece of knowledge, safety gates on destructive commands), not any individual rule.

Reviews (0)

No results found