agentleFS
aioceanaiocean/claude-plugins/CLAUDE.md

claude-plugins

CLAUDE.md4 starsChanged 18 days agoMITView on GitHub

A Claude Code plugin marketplace (aiocean/claude-plugins) containing 35+ independent plugins. Users install via: Every plugin follows this layout: Critical conventions: - Plugin folder name MUST match name in plugin.json - Skill folder name typically matches plugin name - SKILL.md frontmatter requires name and description fields — description must include trigger words/phrases for skill discovery - Script path: Use ${CLAUDE_PLUGIN_ROOT} — the official Claude variable that resolves to the plugin's root directory at runtime. - Every SKILL.md with scripts MUST use…

The file

We split this CLAUDE.md into the rules it gives an agent

11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every plugin follows this layout:

    line 15
  2. Very specific:

    Script path: Use ${CLAUDE_PLUGIN_ROOT} — the official Claude variable that resolves to the plugin's root directory at runtime.

    line 32
  3. Very specific:

    Every SKILL.md with scripts MUST use ${CLAUDE_PLUGIN_ROOT} to locate scripts/references:

    line 33
  4. Very specific:

    Create plugins/{name}/skills/{name}/SKILL.md with frontmatter

    line 59
  5. Distinctive:

    Add scripts/references as needed

    line 60
  6. Distinctive:

    Add description to README.md

    line 62
  7. Very specific:

    Run bash scripts/validate-marketplace.sh to verify everything is correct

    line 63
  8. Very specific:

    Use conventional commits: feat:, fix:, chore:, docs: prefixes (e.g., feat: add aio-new-plugin).

    line 99
  9. Very specific:

    Run bash scripts/validate-marketplace.sh before considering any plugin work done.

    line 103
  10. Very specific:

    Session start: Read .kanban/board.md. For Doing tasks, open their task files.

    line 114
  11. Very specific:

    Session end: Update .kanban/board.md — move completed task lines to Done, note blockers, update timestamp.

    line 115

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

A Claude Code plugin marketplace (aiocean/claude-plugins) containing 35+ independent plugins. Users install via:

/plugin marketplace add aiocean/claude-plugins
/plugin install <plugin-name>@aiocean-plugins

Plugin Structure

Every plugin follows this layout:

plugins/{plugin-name}/
├── .claude-plugin/
│   └── plugin.json        # name, description, version, author
├── skills/
│   └── {skill-name}/
│       ├── SKILL.md        # Frontmatter (name + description with trigger words) + documentation
│       ├── *.sh / *.py / *.ts   # Scripts (optional)
│       └── references/          # Reference docs (optional)
└── README.md               # Optional

Critical conventions:

  • Plugin folder name MUST match name in plugin.json
  • Skill folder name typically matches plugin name
  • SKILL.md frontmatter requires name and description fields — description must include trigger words/phrases for skill discovery
  • Script path: Use ${CLAUDE_PLUGIN_ROOT} — the official Claude variable that resolves to the plugin's root directory at runtime.
  • Every SKILL.md with scripts MUST use ${CLAUDE_PLUGIN_ROOT} to locate scripts/references:
    SCRIPTS="${CLAUDE_PLUGIN_ROOT}/skills/{skill-name}/scripts"
    Then reference scripts as $SCRIPTS/script-name. NEVER use ~/.claude/skills/ or hardcoded cache paths.
  • Script naming: prefix with skill name (e.g., worktree-create.sh, worktree-sync.sh)
  • Any change inside plugins/{plugin-name}/ MUST include a version bump in plugins/{plugin-name}/.claude-plugin/plugin.json
    • Use semantic versioning:
    • patch for fixes/docs/internal script updates
    • minor for backward-compatible new capabilities
    • major for breaking behavior changes

Marketplace Registry

.claude-plugin/marketplace.json at root is the central registry. When adding a new plugin, it must be registered here with name, source (relative path), description, version, and author.

Plugin Categories

  • Script-based (worktree, ios-device-debug, youtube, claude-manager, install, feedback): Shell/Python/TS scripts that execute actions
  • Knowledge/Reference (mental-models, monitoring, neobrutalism, react-minimal-effects, gherkin-refine, xstate, tui, golang-mastery): Documentation-only skills that provide frameworks and patterns
  • Hybrid (reflect, epub-packing, bun-fullstack-setup, codebase-oracle, deep-plan, debug, code-review): Scripts + documentation
  • MCP Integration (jira, github, gitlab, confluence, google-workspace, x, tanca, rag-kit, research-kit, browser-cookie): Thin wrappers around MCP servers

Adding a New Plugin

  1. Create plugins/{name}/.claude-plugin/plugin.json
  2. Create plugins/{name}/skills/{name}/SKILL.md with frontmatter
  3. Add scripts/references as needed
  4. Register in .claude-plugin/marketplace.json
  5. Add description to README.md
  6. Run bash scripts/validate-marketplace.sh to verify everything is correct

Note: The public marketplace site at https://claude-plugins.aiocean.dev/ regenerates itself on every push to main via the Deploy to Cloudflare Pages workflow (.github/workflows/pages.yml). scripts/sync-content.py walks the marketplace + per-plugin SKILL.md frontmatter into docs/content/plugins/**.md, then bun run generate in docs/ produces static HTML. No manual docs edits needed when adding a plugin — see docs/CLAUDE.md for the data-flow diagram and Nuxt-layer details.

SKILL.md Frontmatter Format

---
name: skill-name
description: |
  What it does. Use when [trigger phrase 1], [trigger phrase 2],
  or user mentions [keyword]. Include all synonyms and variations
  for fuzzy-match discovery.
when_to_use: |
  raw keywords and phrases for AI matching, comma-separated.
  Example: cdp relay, browser automation, chrome devtools, capture network
argument-hint: "brief hint shown in UI (e.g. 'URL or issue key')"
effort: medium
---

Field roles:

  • description (required): Long-form text with trigger words/phrases — used for fuzzy-match skill discovery. Keep it verbose with synonyms and variations.
  • when_to_use (recommended): Raw keywords/phrases for AI model to decide when to invoke. No need for full sentences — comma-separated keywords are fine.
  • argument-hint (optional): Short hint displayed in UI so users know what arguments the skill accepts.
  • effort (optional): Thinking effort level — low for knowledge-only skills, medium for standard, high/max for complex reasoning skills.
  • model (optional): Force a specific model — haiku for lightweight lookups, sonnet for standard, opus for deep analysis.

Build system

The plugins themselves have no build step — each plugin is a standalone directory of markdown and scripts (shell scripts use #!/bin/bash, TS scripts run via bun).

The marketplace site at docs/ is a Nuxt 4 app that extends the andy-note-nuxt layer. bun run generate in docs/ produces the static site to docs/.output/public. Full guidance: docs/CLAUDE.md. CI runs this on every push to main and deploys to Cloudflare Pages.

Commit Conventions

Use conventional commits: feat:, fix:, chore:, docs: prefixes (e.g., feat: add aio-new-plugin).

Validation

Run bash scripts/validate-marketplace.sh before considering any plugin work done. It checks plugin.json fields, folder naming, SKILL.md frontmatter, script existence, marketplace registration, and version sync.

The validate.yml GitHub Action runs this same script on every push to main and every pull request that touches plugins/ or .claude-plugin/ — version drift between plugin.json and marketplace.json will fail CI.

<!-- kanban:start -->

Task Board

!bash .kanban/status.sh 2>/dev/null

Board: .kanban/board.md (index) | Tasks: .kanban/tasks/T-NNN-slug.md | Archive: .kanban/archive/

Session start: Read .kanban/board.md. For Doing tasks, open their task files. Session end: Update .kanban/board.md — move completed task lines to Done, note blockers, update timestamp.

Board line format (one per task):

- [T-NNN](tasks/T-NNN-slug.md) Title — priority/effort

Task file format (.kanban/tasks/T-NNN-slug.md):

# T-NNN: Title
> One-line description
- **priority**: critical|high|medium|low
- **effort**: XS|S|M|L

## Criteria
- [ ] Acceptance criterion

Rules: WIP limit = 2 in Doing. Pick highest-priority from Todo. Never skip criteria checkboxes. Slug is kebab-case from title, ≤40 chars.

<!-- kanban:end -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.