argus
AGENTS.md4 starsChanged 7 months agoMITView on GitHub
You are an AI coding agent working with the Argus design intelligence platform. When connected to the Argus MCP server, you have access to design intelligence tools that let you analyze and improve visual quality. These tools return structured, deterministic results — not opinions. Input: { url?: string, selector?: string, html?: string } Output: PageSnapshot with element positions, computed styles, accessibility data, and structural relationships. Use this when you need to understand what's visually happening on a page before making…
We split this AGENTS.md into the rules it gives an agent
22 rules. About 0 are common, 12 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
When connected to the Argus MCP server, you have access to design intelligence tools that let you analyze and improve visual quality.
- Distinctive: line 17
Use this when you need to understand what's visually happening on a page before making changes.
- Distinctive: line 27
Use this to evaluate whether your generated UI meets quality standards before presenting it to the user.
- Distinctive: line 35
Use this when the score is below threshold and you need concrete fixes.
- Very specific: line 43
Use this to fix issues identified by design.suggest.
- Distinctive: line 51
Use this after making changes to verify you improved things and didn't break anything.
- Distinctive: line 54
Read the user's design taste profile.
- Distinctive: line 59
Use this before generating UI to align with the user's established preferences.
- Distinctive: line 62
Run a comprehensive design + accessibility audit.
- Distinctive: line 67
Use this for thorough analysis when the user asks to evaluate or improve their design.
- Very specific: line 70
Check Argus installation and configuration health.
- Very specific: line 78
Call design.preferences to understand the user's taste
- Distinctive: line 79
Use the profile data to inform your CSS choices
- Very specific: line 80
After generating, call design.score to verify quality
- Very specific: line 83
Call design.inspect on the target area
- Very specific: line 84
Call design.score to identify weak categories
- Very specific: line 85
Call design.suggest for specific fixes
- Very specific: line 87
Call design.compare to verify improvement
- Very specific: line 90
Call design.audit for full analysis
- Distinctive: line 92
Ask which category to prioritize
- Distinctive: line 107
All findings follow this structure:
- Distinctive: line 123
When exporting preferences for system prompts:
≈ “Common” is an estimate: at least 1 in 5 of the 36,368 AGENTS.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.
Files
AGENTS.md — Argus Agent Context
You are an AI coding agent working with the Argus design intelligence platform.
Your capabilities via Argus
When connected to the Argus MCP server, you have access to design intelligence tools that let you analyze and improve visual quality. These tools return structured, deterministic results — not opinions.
Available MCP tools
design.inspect
Analyze a page or component's visual structure.
Input: { url?: string, selector?: string, html?: string }
Output: PageSnapshot with element positions, computed styles, accessibility data, and structural relationships.
Use this when you need to understand what's visually happening on a page before making changes.
design.score
Score design quality against established principles.
Input: { snapshot: PageSnapshot, categories?: string[], threshold?: number }
Output: ScoreReport with per-rule findings, category scores, and an aggregate score (0–100).
Categories: spacing, typography, color, hierarchy, accessibility, consistency.
Use this to evaluate whether your generated UI meets quality standards before presenting it to the user.
design.suggest
Get specific, actionable improvement suggestions.
Input: { snapshot: PageSnapshot, maxSuggestions?: number, focus?: string }
Output: Array of Suggestion objects with element selectors, CSS changes, and expected score improvement.
Use this when the score is below threshold and you need concrete fixes.
design.apply
Apply a design fix and verify the improvement.
Input: { selector: string, changes: CSSChanges, verify?: boolean }
Output: { applied: boolean, before: Score, after: Score, delta: number }
Use this to fix issues identified by design.suggest. The verify flag re-scores after applying to confirm improvement.
design.compare
Compare two states of a page.
Input: { before: PageSnapshot, after: PageSnapshot }
Output: DiffReport with structural changes, score deltas, and visual regression indicators.
Use this after making changes to verify you improved things and didn't break anything.
design.preferences
Read the user's design taste profile.
Input: { action: "read" | "export", format?: "xml" | "json" }
Output: DesignProfile with learned preferences, weighted rules, and category biases.
Use this before generating UI to align with the user's established preferences.
design.audit
Run a comprehensive design + accessibility audit.
Input: { url?: string, selector?: string, wcag?: "AA" | "AAA" }
Output: Full AuditReport with all category scores, accessibility violations, and prioritized fix list.
Use this for thorough analysis when the user asks to evaluate or improve their design.
design.doctor
Check Argus installation and configuration health.
Input: {}
Output: Diagnostic report with version info, configuration status, and any detected issues.
How to use these tools effectively
Before generating UI
- Call
design.preferencesto understand the user's taste - Use the profile data to inform your CSS choices
- After generating, call
design.scoreto verify quality
When improving existing UI
- Call
design.inspecton the target area - Call
design.scoreto identify weak categories - Call
design.suggestfor specific fixes - Apply fixes via code changes
- Call
design.compareto verify improvement
When the user says "make it better"
- Call
design.auditfor full analysis - Present the top 3 findings to the user
- Ask which category to prioritize
- Apply fixes, re-score, show before/after
Score interpretation
| Range | Quality | Action |
| 90–100 | Excellent | Ship it |
| 75–89 | Good | Minor tweaks optional |
| 60–74 | Fair | Address warnings |
| 40–59 | Poor | Significant issues need fixing |
| 0–39 | Critical | Fundamental problems |
Structured output format
All findings follow this structure:
<design_finding>
<rule>spacing-consistency</rule>
<severity>warning</severity>
<element>.card-grid > .card</element>
<message>Inconsistent horizontal gaps: 16px, 24px, 12px found. Expected uniform value.</message>
<measured>3 distinct gap values</measured>
<expected>1 consistent gap value</expected>
<suggestion>Set gap: 16px on .card-grid (most common value)</suggestion>
</design_finding>Design preference XML export
When exporting preferences for system prompts:
<design_preferences source="argus" version="2026.4.12">
<rule category="spacing" weight="0.9">ALWAYS use 8px grid for all spacing values</rule>
<rule category="typography" weight="0.85">PREFER heading weight 600 over 700</rule>
<rule category="color" weight="0.8">NEVER use pure black (#000) for text — use #1a1a1a minimum</rule>
<rule category="hierarchy" weight="0.75">ALWAYS ensure primary CTA is visually dominant by minimum 1.5x size ratio</rule>
<rule category="consistency" weight="0.7">AVOID more than 5 distinct font sizes per page</rule>
</design_preferences>Paste this block into any system prompt, CLAUDE.md, .cursorrules, or agent configuration. The agent will respect these learned preferences in all generated output.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 28,693 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

