agentleFS
HouseofmvpsHouseofmvps/ultraship/CLAUDE.md

ultraship

CLAUDE.md123 starsChanged 8 months agoMITView on GitHub

All-in-one builder plugin for Claude Code. npm: ultraship, GitHub: Houseofmvps/ultraship.

  • Reads credentials

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No build step — tools run directly via node tools/<tool>.mjs

    line 21
  2. Very specific:

    All tools use execFileSync (not execSync) to prevent shell injection

    line 22
  3. Very specific:

    All HTTP-making tools import tools/lib/security.mjs for SSRF protection, response size limits

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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

Ultraship — Claude Code Plugin

All-in-one builder plugin for Claude Code. npm: ultraship, GitHub: Houseofmvps/ultraship.

Project Structure

.claude-plugin/   — Plugin manifest (plugin.json)
skills/           — 45 skills (workflow + specialist + growth/launch/intelligence; includes staying-current, a11y, ship-gate, evals)
agents/           — 13 agents (review, seo, seo-strategist, security, pentest, perf, a11y, browser, compete, launch, incident, growth, canary)
commands/         — 16 command files (/ship, /seo, /secure, /review, /perf, /profile, /bundle, /deps, /health, /redirects, /codex, /content, etc.). NOTE: every skill is ALSO a slash command, so /a11y, /sprint, /pentest, /compete, /canary, /launch, /rescue, /grow etc. all work — the 21 redundant command launchers that duplicated same-named skills were removed 2026-06-28 (Anthropic merged commands into skills).
tools/            — 41 Node.js tools (ga4-client, keyword-intelligence, index-doctor, seo-scanner, a11y-scanner, ship-gate, vibe-security-scanner, eval-scanner, lighthouse, pentest-scanner, codex-generator, etc.) + shared lib/ship-scoring.mjs (single source of truth for /ship + ship-gate scoring)
hooks/            — SessionStart + UserPromptSubmit (Currency Guard) + PostCompact hooks + guard hooks (PreToolUse for destructive command blocking)
docs/             — Documentation

Tech Stack

  • Node.js ESM (type: module)
  • Zero external dependencies — HTML parsing via tools/lib/html-parser.mjs (inline SAX-style parser)
  • No build step — tools run directly via node tools/<tool>.mjs
  • All tools use execFileSync (not execSync) to prevent shell injection

Key Tools

ToolPurpose
seo-scanner.mjsSEO scanner (39 rules) + GEO signals (20 rules: AI bot access, snippet restrictions, structured data) + AEO signals (4 rules: schema checks). Cross-page analysis, analytics detection, canonical conflicts.
a11y-scanner.mjsStatic accessibility scanner (WCAG 2.2 A/AA subset): missing alt, unlabeled form controls, empty buttons/links, missing lang/title/main, heading order, positive tabindex, zoom disabled, duplicate ids, broken aria references. Zero false positives. Dispatched by /ship; rendered contrast/focus checks escalate to npx pa11y via the /a11y skill.
ship-gate.mjsBlocking quality gate. Subcommands: init (write .ultraship/ship-gate.json thresholds), run (score via shared lib/ship-scoring.mjs, compare to thresholds, hard-fail on leaked secrets / critical findings, exit 1 on fail), ci (write .github/workflows/ship-gate.yml), hook (write .git/hooks/pre-push). Same scoring as /ship so they never disagree.
content-scorer.mjsReadability (Flesch-Kincaid), keyword density, GEO heading analysis
og-validator.mjsOpen Graph tag validation, image reachability check
redirect-checker.mjsRedirect chain/loop detection, mixed protocol, sitemap-based bulk check
lighthouse-runner.mjsLighthouse via headless Chrome, extracts CWV + diagnostics
health-check.mjsProduction health check (status, response time, SSL, security headers)
env-validator.mjsValidates required env vars from .env.example against actual .env
migration-checker.mjsDetects pending DB migrations (Drizzle, Prisma, Knex)
bundle-tracker.mjsBundle size tracking with history, heavy dependency detection
audit-history.mjsSaves/compares audit scores over time
api-smoke-test.mjsAPI endpoint smoke testing (status codes, response times, CORS)
gsc-client.mjsGoogle Search Console API (JWT auth via service account)
bing-webmaster.mjsBing Webmaster API — 11 commands: submit-sitemap, list-sitemaps, submit-url, submit-url-batch, url-info, query, indexnow, keyword-research, backlinks, site-scan, url-inspection
code-profiler.mjsStatic analysis for N+1 queries, sync I/O, memory leaks, unbounded queries
dep-doctor.mjsDetects unused/outdated dependencies, recommends removals
secret-scanner.mjsDetects leaked secrets, skips .env.example files
vibe-security-scanner.mjsVibe-Coding Security Sentinel — context-aware checks secret-scanner misses: server-only secrets behind a public env prefix (NEXT_PUBLIC_/VITE_/etc.), a decoded Supabase service_role JWT exposed to the client, service_role referenced in a "use client" file, Supabase tables created without RLS (gated on a Supabase signal), and an advisory for mutation routes with no auth lib. Zero false positives.
eval-scanner.mjsLocates every LLM call site (Anthropic, OpenAI, Gemini, Mistral, Cohere, Ollama, Vercel AI SDK, LangChain) by provider + model id via real import/require detection (no local ./ai false positives), detects the test runner and whether a Promptfoo/eval suite already exists, and flags AI features shipping with no evals. Seeds the /evals skill. Zero false positives.
sitemap-generator.mjsGenerates sitemap.xml from HTML files
robots-generator.mjsGenerates AI-friendly robots.txt (allows GPTBot, PerplexityBot, etc.)
structured-data-generator.mjsGenerates JSON-LD structured data
llms-txt-generator.mjsGenerates llms.txt for AI discoverability
compete-analyzer.mjsCompetitive X-Ray — compares two sites on tech stack, SEO, perf, security
launch-prep.mjsLaunch Day Autopilot — generates launch copy, checklist, press kit
incident-commander.mjsProduction Incident Commander — diagnoses outages, suggests rollback
growth-tracker.mjsPost-Ship Growth Intelligence — tracks metrics over time
cost-tracker.mjsAI Build Cost Tracker — tracks spend per feature/model
onboard-generator.mjsInstant Project Onboarding — generates developer onboarding guide
architecture-mapper.mjsLiving Architecture Map — auto-generates Mermaid diagrams
pattern-analyzer.mjsLearn From the Best — analyzes and compares codebase patterns
demo-prep.mjsDemo-Ready Mode — finds dev artifacts, generates walkthrough
pentest-scanner.mjsPenetration testing — XSS, SQLi, SSTI, CORS, JWT, GraphQL, prototype pollution, race conditions. Zero false positives.
canary-monitor.mjsPost-deploy canary monitoring — HTTP status, response time, error patterns, baseline regression detection
retro-analyzer.mjsSprint retrospective — git velocity, commit patterns, test health, hot files, shipping cadence
learnings-manager.mjsProject learnings CRUD — save, search, list, prune, export structured knowledge
ga4-client.mjsGoogle Analytics 4 Data API — 12 commands: overview, top-pages, traffic-sources, conversions, landing-pages, user-journey, search-terms, geo, devices, realtime, ai-traffic (ChatGPT/Perplexity/Copilot), organic. --organic flag for search-only filtering. Key event rates per page.
keyword-intelligence.mjsKeyword analysis — 12 commands: analyze (with difficulty + topical authority + SERP features + position bands), quick-wins, cannibalization, content-gaps, intent-map, trending, high-intent, page-keywords, content-decay, difficulty, anomalies (low-position high-CTR), cross-reference (GSC↔GA4). Brand filtering via --brand flag.
index-doctor.mjsIndex diagnosis — inspects URLs via GSC, diagnoses non-indexing reasons (nosnippet/max-snippet detection), auto-submits fixes to Bing
codex-generator.mjsCodebase index — compact map of routes, schema, components, lib exports, structure. Stack-agnostic (JS/TS, Python, Go, Ruby, PHP, Rust, Java). Writes .ultraship/codex.md to save AI tokens. Skips audit fields + shadcn/radix UI primitives. Route paths validated (no false positives from non-route code).

Security

  • All HTTP-making tools import tools/lib/security.mjs for SSRF protection, response size limits
  • validateUrl() blocks private IPs, cloud metadata, non-HTTP schemes
  • checkFileSize() prevents OOM by capping reads at 10MB
  • createResponseAccumulator() caps HTTP responses at 5MB
  • File writes use mode 0o600, directories 0o700
  • Secret scanner redacts found values in output
  • Lighthouse version is pinned (lighthouse@12) to prevent supply chain attacks

Conventions

  • Tools output JSON to stdout, errors exit with code 0 (never crash Claude Code)
  • Skills use ${CLAUDE_PLUGIN_ROOT} to reference tool paths
  • New tools that make HTTP requests MUST import and use validateUrl() from tools/lib/security.mjs
  • New tools that read files MUST use checkFileSize() before readFileSync()
  • GEO = Generative Engine Optimization (NOT geographic targeting)
  • AEO = Answer Engine Optimization (featured snippets, voice assistants)
  • Auth env vars: ULTRASHIP_GSC_CREDENTIALS, ULTRASHIP_GSC_ACCESS_TOKEN, ULTRASHIP_BING_KEY, ULTRASHIP_GA4_CREDENTIALS, ULTRASHIP_GA4_ACCESS_TOKEN
  • Auth also reads from CLAUDE_PLUGIN_OPTION_* env vars (set via userConfig in plugin.json)
  • Agent frontmatter uses model, effort, maxTurns, tools, skills per official Claude Code plugin spec
  • Opus agents: code-reviewer, pentest-auditor, seo-strategist, incident-responder (effort: high)
  • Sonnet agents: all others (effort: medium)
  • Each agent has tools restricted to only what it needs (Bash, Read, Grep, Glob, etc.)
  • Each agent has skills preloaded for its domain (e.g., seo-strategist preloads seo-strategy)
  • Skill frontmatter uses argument-hint, allowed-tools, paths per official spec
  • Hooks use statusMessage for UX feedback during execution
  • PostCompact hook re-injects ultraship context after conversation compaction
  • UserPromptSubmit hook (currency-guard.sh) detects version-sensitive prompts (library/SDK APIs, versions, pricing, model IDs, "latest") and injects a directive to verify against current sources (context7/WebSearch) instead of training data. Pairs with the staying-current skill. Exits 0, injects only on a match, escapes JSON via sed.
  • Skills/commands can set disallowed-tools in frontmatter to remove tools while active (e.g. code-review and investigate block Edit/Write/NotebookEdit)

Publishing

  • npm publish with granular token via .npmrc
  • Git commits use houseofmvps2024@gmail.com
  • Version bump in both package.json and test before publishing

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.