analyze

A codebase analysis command that examines a project, website, domain, or search term from competitive and partnership perspectives across related repositories.

In plain words
What is it for?
Use it with a URL, domain, or search term to research the target and produce a structured competitive or partnership analysis.
Why use it?
It gives a repeatable way to compare an outside project with your own projects instead of researching each case from scratch.

Skill for Claude CodeCodexCursor

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 skills/markmhendrickson/foundation/analyze
Any agent
npx skills add markmhendrickson/foundation --skill analyze
Clone the repo
git clone --depth 1 https://github.com/markmhendrickson/foundation

Made for: Claude Code, Codex, Cursor.

Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,776 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00013 $0.04776
Opus 5 $0.00006 $0.02388
Sonnet 5 $0.00003 $0.00955
Haiku 4.5 $0.00001 $0.00478

Measured yesterday against content hash fa5584ff3a2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

analyze scanned grade A with 0 findings 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to analyze — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/skills/analyze/SKILL.md · 567 lines

How it starts

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

Analyze Project

Analyze any project (URL or term) from both competitive and partnership perspectives relative to all repositories (comparative analysis across your repos). Load repo list from the truth layer (per neotoma_parquet_migration_rules.mdc).

Command

analyze <url_or_term>

Input

Accepts:

  • Full URL (e.g., analyze https://memorae.ai)
  • Domain name (e.g., analyze memorae.ai)
  • Search term (e.g., analyze "memory layer productivity")

Examples:

  • analyze memorae.ai
  • analyze https://memorae.ai
  • analyze "memory layer productivity tool"

Workflow Overview

This command performs systematic analysis following the framework defined in foundation/strategy/project_assessment_framework.md. The analysis type depends on the resource:

For Products/Projects:

  1. Load all repos from truth layer (per neotoma_parquet_migration_rules.mdc)
  2. Discover repo context for current repo and all repos in the loaded list
  3. Research target project via web scraper MCP (if ChatGPT/Twitter URL) or browser tools
  4. Generate competitive analysis using standardized template (compare target vs. each repo)
  5. Generate partnership analysis using standardized template (compare target vs. each repo)
  6. Save both analyses to private docs submodule
  7. Present summary to user (including comparative summary across repos)

For Content/Thought Leadership (Articles, Research, etc.):

  1. Load all repos from truth layer (per neotoma_parquet_migration_rules.mdc)
  2. Discover repo context for current repo and all repos in the loaded list
  3. Research target resource via web scraper MCP (if ChatGPT/Twitter URL) or browser tools
  4. Generate holistic relevance analysis using relevance template (applicable to each repo)
  5. Save analysis to private docs submodule
  6. Present summary to user (including relevance to each repo where applicable)

Output:

  • Products/Projects:
    • Competitive analysis: docs/private/competitive/[target_name]_competitive_analysis.md
    • Partnership analysis: docs/private/partnerships/[target_name]_partnership_analysis.md
  • Content/Thought Leadership:
    • Relevance analysis: docs/private/insights/[target_name]_relevance_analysis.md

Read the full file on GitHub · 567 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. yesterday First seen · 567 lines · 13 tokens per session scan A fa5584ff3a2f

Subscribe to this mod's changes

analyze is a skill published in the GitHub repository markmhendrickson/foundation (2 stars, last pushed 1mo ago), licensed MIT. It adds 13 tokens to every session and 4,776 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to analyze, differing in 11 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

agent-host-chat-contributions

Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.

microsoft/vscode · 56 tokens