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 skills add memi-design/memi --skill enforce-design-cigit clone --depth 1 https://github.com/memi-design/memiWrote 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/skills/memi-design/memi/enforce-design-ci)<a href="https://agentmods.dev/skills/memi-design/memi/enforce-design-ci"><img src="https://agentmods.dev/badge/skills/memi-design/memi/enforce-design-ci/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/skills/memi-design/memi/enforce-design-ci"><img src="https://agentmods.dev/badge/skills/memi-design/memi/enforce-design-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00037 | $0.00490 |
| Opus 5.5 | $0.00015 | $0.00196 |
| Sonnet 5.5 | $0.00007 | $0.00098 |
| Haiku 4.5 | $0.00004 | $0.00049 |
Grade A, and why
enforce-design-ci 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 1mo 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.
What it actually says
Enforce Design CI
Add a reviewable design-quality gate that runs without an LLM. Memi writes a policy, baseline, universal agent skill, SARIF, and human-readable report artifacts.
This workflow targets published beta 2.8.0-beta.2. Use npx -y @memi-design/[email protected] --version to verify the exact package; a local memi must report that same version before these recipes run. The independent stable compatibility baseline is 2.7.9. See current release state and known limitations. npm availability alone does not establish native-binary success.
Existing project setup
Beta initialization is unavailable. Use an existing reviewed policy and baseline; this skill does not invoke legacy setup commands. Review project changes before committing them.
Verify Locally
memi --profile connected --allow project-write --allow source-content-persistence --allow shell ci . --no-scope --report --json
The command may exit nonzero when findings exceed the configured gate. Treat that as a quality result, not a tool crash.
Add GitHub Actions
Use the pinned major action in .github/workflows/design.yml:
name: Design CI
on: [pull_request]
jobs:
design:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: memi-design/memi@v2
with:
version: "2.7.9"
Completion Criteria
- Policy and baseline are reviewed and committed.
- Local CI produces SARIF and a design-health report.
- The workflow passes on unchanged accepted debt and fails on a seeded regression.
- The final handoff names the gate threshold, suppressed baseline count, active findings, and artifact paths.
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.
- 1mo ago Changed · -4 lines a26ff95f0717
- 2mo ago First seen · 56 lines · 37 tokens per session scan A 048fd23f1e1d
enforce-design-ci is a skill published in the GitHub repository memi-design/memi (50 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 490 once invoked, about $0.0001 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-30.
enforce-design-ci compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| enforce-design-cimemi-design/memi | Skill | 50 | 2d ago | MIT | A | 37 | Claude Code |
| extract-designManavarya09/design-extract | Skill | 4.8k | yesterday | MIT | A | 140 | Claude Code |
| designlang-tokensManavarya09/design-extract | Skill | 4.8k | yesterday | MIT | A | 30 | Claude Code |
| omd-applykwakseongjae/oh-my-design | Skill | 567 | yesterday | MIT | A | 129 | Claude Code, Codex |
| elementsNVIDIA/elements | Skill | 113 | today | Apache-2.0 | A | 59 | Claude Code, Codex |
| authoring-patternsNVIDIA/elements | Skill | 113 | today | Apache-2.0 | A | 106 | Claude Code, Codex |
| audit-accessibilityNVIDIA/elements | Skill | 113 | today | Apache-2.0 | A | 98 | Claude Code |