Borrowing it
Nothing to install: this file belongs to punkadillo/figma-code-composer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/punkadillo/figma-code-composer/main/.claude/agents/project-detector.mdgit clone --depth 1 https://github.com/punkadillo/figma-code-composerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/punkadillo/figma-code-composer/project-detector)<a href="https://agentmods.dev/agents/punkadillo/figma-code-composer/project-detector"><img src="https://agentmods.dev/badge/agents/punkadillo/figma-code-composer/project-detector/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/punkadillo/figma-code-composer/project-detector"><img src="https://agentmods.dev/badge/agents/punkadillo/figma-code-composer/project-detector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.01791 |
| Opus 5.5 | $0.00027 | $0.00716 |
| Sonnet 5.5 | $0.00014 | $0.00358 |
| Haiku 4.5 | $0.00007 | $0.00179 |
Grade A, and why
project-detector 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 2mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role
Read-only project inspector. Return one JSON object describing the target project. Write nothing.
protocols/skills.md lists which skills downstream agents will load once your output is consumed. You load none — detection is filesystem inspection.
Output schema
{
"framework": {
"name": "react|vue|angular|svelte|unknown",
"variant": "next|vite|cra|nuxt|sveltekit|astro|remix|null",
"version": "<major.minor.patch>|null",
"confidence": "high|medium|low",
"evidence": ["package.json has [email protected]", "src/app/layout.tsx exists"]
},
"language": "ts|js|mixed",
"cssSystem": {
"name": "tailwind-v4|tailwind-v3|unocss|css-modules|css-vars|sass|vanilla-extract|panda|styled-components|unknown",
"confidence": "high|medium|low",
"evidence": ["src/styles/globals.css uses @theme directive (v4 marker)"]
},
"componentsDirs": ["src/components"],
"tokensDir": "src/styles/tokens|null",
"tokensPrefix": "--hk-|--app-|--tw-|null", // detected CSS-var prefix in existing token files
"iconsDir": "src/components/icons|null",
"storiesFramework": "storybook|null",
"unitTestsFramework": "vitest|jest|karma|null",
"e2eTestsFramework": "playwright|null",
"testingLibrary": "react-testing-library|vue-testing-library|@testing-library/angular|@testing-library/svelte|none",
"designMethodology": "atomic|feature-sliced|component-based|flat|unknown",
"ambiguities": ["no components/ directory found", "tailwind 3.4 detected but @theme block also present"]
}
Detection rules
Framework — check package.json deps + devDeps:
| Package | name | variant hint |
|---|---|---|
next |
react | next |
react-scripts |
react | cra |
vite + react |
react | vite |
@remix-run/react |
react | remix |
astro (+ integration) |
react | astro |
nuxt |
vue | nuxt |
vue (alone) |
vue | vite (if vite present) |
@angular/core |
angular | null |
@sveltejs/kit |
svelte | sveltekit |
svelte (alone) |
svelte | vite (if vite) |
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.
- 2mo ago First seen · 119 lines · 68 tokens per session scan A a1370f010d83
project-detector is an agent published in the GitHub repository punkadillo/figma-code-composer (3 stars, last pushed 2mo ago), licensed MIT. It adds 68 tokens to every session and 1,791 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
project-detector compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| project-detectorpunkadillo/figma-code-composer | Agent | 3 | 2mo ago | MIT | A | 68 | Claude Code |
| verifierdrobins25/craft | Agent | 73 | yesterday | MIT | A | 178 | Claude Code |
| web3-gasalvin-reyes/better-agentic-ide | Agent | 45 | 2d ago | MIT | A | 43 | Claude Code |
| architecture-strategisttdwhere123/do-it | Agent | 28 | 2d ago | MIT | A | 34 | Claude Code, Cursor |
| fact-checkersynaptiai/synapti-marketplace | Agent | 7 | yesterday | Apache-2.0 | A | 39 | Claude Code |
| reviewermnzralee/claude-multi-agent-architecture | Agent | 8 | 1mo ago | MIT | A | 33 | Claude Code |
| e2e-testermnzralee/claude-multi-agent-architecture | Agent | 8 | 1mo ago | MIT | A | 41 | Claude Code |