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.
npx agentmods add commands/opensesh/design-ops/validategit clone --depth 1 https://github.com/opensesh/DESIGN-OPSWrote 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/commands/opensesh/design-ops/validate)<a href="https://agentmods.dev/commands/opensesh/design-ops/validate"><img src="https://agentmods.dev/badge/commands/opensesh/design-ops/validate.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.02563 |
| Opus 5 | $0.00000 | $0.01282 |
| Sonnet 5 | $0.00000 | $0.00513 |
| Haiku 4.5 | $0.00000 | $0.00256 |
Grade B, and why
validate scanned grade B with 1 finding 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 4d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
1. **Check** MCP is registered in `~/.claude/settings.json` How it starts
The opening of the file, as written. The whole thing — 393 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/design-ops:validate
Re-validate all configured tool connections. Use this to check tool status after setup, after changing API keys, or when troubleshooting connection problems.
Trigger
/design-ops:validate [--fix]
Parameters
| Flag | Description |
|---|---|
| (none) | Check all tools and report status |
--fix |
Check tools and guide through fixing failures interactively |
Use Cases
- After setup — Double-check everything works before running dashboard
- After changing credentials — Verify new API keys or OAuth tokens work
- Before running dashboard — Catch issues early instead of discovering errors in dashboard
- When troubleshooting — Diagnose which tools are failing and why
- After environment changes — Verify tools still work after system updates or config changes
Workflow
Step 1: Load Configuration
- Read
~/.claude/design-ops-config.yaml - Extract all configured tools across all pillars
- Skip tools marked as
status: skipped
Step 2: Validate Each Tool
For each tool (not skipped):
MCP Tools (stdio)
- Check MCP is registered in
~/.claude/settings.json - Make test call appropriate for the tool:
- Notion:
mcp__notion__API-get-self - GitHub:
mcp__github__search_repositorieswith simple query - Linear: Query for current user
- Notion:
- Record result: success, error message, response time
MCP Tools (HTTP/OAuth)
- Check MCP is registered
- Make test call that requires authentication:
- Google Workspace:
mcp__google-workspace__list_calendars - Figma:
mcp__figma__whoami - Supabase: List databases or tables
- Google Workspace:
- Detect OAuth errors:
- If OAuth prompt triggered → status:
oauth_pending - If auth successful → status:
connected - If token expired → status:
oauth_expired
- If OAuth prompt triggered → status:
API Tools (direct)
- Check environment variable is set:
- Notion:
NOTION_API_KEY - Figma (legacy):
FIGMA_API_TOKEN - GA4:
GA4_PROPERTY_ID
- Notion:
- Make test API call to validate token
- Record result: valid, invalid, expired, missing
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.
- 4d ago First seen · 393 lines · 0 tokens per session scan B 4ec2efec6aa7
validate is a command published in the GitHub repository opensesh/DESIGN-OPS (23 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,563 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
design-compliance
Audit or generate regulation-specific UI patterns for HIPAA, PCI DSS, or ADA compliance. Use --regulation to target a specific standard.
design-tutorial
Interactive guided tour of Naksha — learn commands through real exercises, discover workflows, and get oriented in under 10 minutes.
design-gdpr
Design GDPR/CCPA-compliant consent flows — cookie banners, consent hierarchy, privacy controls, and data deletion request UI.
design-review
Review an existing design for quality — accessibility, usability, visual consistency, content, and motion. Accepts HTML files, Figma URLs, preview servers, or screenshots for visual AI critique.
design-template
Generate a production-ready web page from a curated template category. Pick a category (landing-page, dashboard, pricing, auth, blog, ecommerce, portfolio, docs, saas, or onboarding) and get a fully-built, customized HTML/CSS template — brand colors, copy, and responsive layout included.
design-voice-ui
Design a voice interface — wake word flows, confirmation patterns, error recovery, screen companion layout (if hybrid), audio feedback guidelines.