Code Quality Gate
fengshao1227/ccg-workflow
Scans code for complexity, long functions, duplicated blocks, naming problems and code smells with a Node script, then reports and suggests refactors.
Maintain the Prism codebase: measure cyclomatic complexity, refactor hotspots, and enforce the anti-slop type discipline.
$ npx skills add irfndi/prism-liquidity-agent --skill prism-maintain -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install irfndi/prism-liquidity-agent prism-maintain --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/irfndi/prism-liquidity-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/prism-maintain .claude/skills/prism-maintain && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "prism-maintain" agent skill from https://github.com/irfndi/prism-liquidity-agent/tree/main/skills/prism-maintain into .claude/skills/prism-maintain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prism-maintain", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/irfndi/prism-liquidity-agent/tree/main/skills/prism-maintainType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add irfndi/prism-liquidity-agent --skill prism-maintain -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install irfndi/prism-liquidity-agent prism-maintain --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/irfndi/prism-liquidity-agent.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/prism-maintain .agents/skills/prism-maintain && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "prism-maintain" agent skill from https://github.com/irfndi/prism-liquidity-agent/tree/main/skills/prism-maintain into .agents/skills/prism-maintain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prism-maintain", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add irfndi/prism-liquidity-agent --skill prism-maintain -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install irfndi/prism-liquidity-agent prism-maintain --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/irfndi/prism-liquidity-agent.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/prism-maintain .cursor/skills/prism-maintain && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "prism-maintain" agent skill from https://github.com/irfndi/prism-liquidity-agent/tree/main/skills/prism-maintain into .cursor/skills/prism-maintain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prism-maintain", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/irfndi/prism-liquidity-agent.git --path skills/prism-maintain--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add irfndi/prism-liquidity-agent --skill prism-maintain -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install irfndi/prism-liquidity-agent prism-maintain --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/irfndi/prism-liquidity-agent.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/prism-maintain .gemini/skills/prism-maintain && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "prism-maintain" agent skill from https://github.com/irfndi/prism-liquidity-agent/tree/main/skills/prism-maintain into .gemini/skills/prism-maintain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prism-maintain", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install irfndi/prism-liquidity-agent prism-maintainInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add irfndi/prism-liquidity-agent --skill prism-maintain -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/irfndi/prism-liquidity-agent.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/prism-maintain .github/skills/prism-maintain && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "prism-maintain" agent skill from https://github.com/irfndi/prism-liquidity-agent/tree/main/skills/prism-maintain into .github/skills/prism-maintain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prism-maintain", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add irfndi/prism-liquidity-agent --skill prism-maintain -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install irfndi/prism-liquidity-agent prism-maintain --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/irfndi/prism-liquidity-agent.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/prism-maintain .opencode/skills/prism-maintain && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "prism-maintain" agent skill from https://github.com/irfndi/prism-liquidity-agent/tree/main/skills/prism-maintain into .opencode/skills/prism-maintain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prism-maintain", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
prism-maintainMaintain the Prism codebase: measure cyclomatic complexity, refactor hotspots, and enforce the anti-slop type discipline.
Prism Maintain is an agent skill from irfndi/prism-liquidity-agent. Maintain the Prism codebase: measure cyclomatic complexity, refactor hotspots, and enforce the anti-slop type discipline. Use when the user asks about "complexity", "refactor", "hotspot", "maintainability", "code health", "anti-slop", "lint rules", or "clean up" the Prism repo.
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires Bun 1.4+ and oxlint with the vendored anti-slop plugin.
It sits in Writing & Content, covering Humanizing AI text, Code quality and Refactoring. The repository describes itself as: Autonomous LP trading agent - auto-rebalancing with backtested strategies - Currently support Meteora DLMM. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d15c63e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunbunxFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires Bun 1.4+ and oxlint with the vendored anti-slop plugin.
From compatibility in the SKILL.md frontmatter.
Prism Maintain loads about 1k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 362 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from irfndi/prism-liquidity-agent at commit d15c63e, republished under its MIT licence (© irfndi). 362 words, ~1,037 tokens.
.claude/skills/prism-maintain/SKILL.md (or your agent's skills folder).Measure complexity, refactor hotspots, keep the code human-maintainable.
Methodology adapted from
saurabhkumar8112/cyclomatic-complexity-skill
(Apache-2.0); type discipline enforced by the vendored
dmmulroy/anti-slop v0.1.2 plugin in
tools/oxlint/anti-slop/.
bun run lint enforces complexity: max 10 as an error via oxlint
(type-aware — it is the authoritative measure for this Effect-TS codebase;
line-counters like lizard mis-parse Effect.gen chains and report phantom
CCN 50+ on 15-line functions, so never act on lizard numbers here).
Bands: 1–6 fine · 7–10 watch (refactor only if touching the function anyway) · 11+ must split before merge (lint fails).
Watch-band probe (never commit this config):
sed '"'"'s/"max": 10/"max": 6/'"'"' .oxlintrc.json > .oxlint-cc6.json
bunx oxlint --config .oxlint-cc6.json engine ops bench cli
rm .oxlint-cc6.jsonbun run lint, bun run format, full bun run test green with
ZERO test edits (unchanged tests passing is the behavior proof).## Complexity report
| Function | Before | After |
|----------|--------|-------|
| runPoolEntryGates | 11 | 9 |
Extracted: isSafetyBinsSkippable, snapshotPriceDrift
Behavior verified: full suite green, no test editsisPositiveFiniteApr(x) beats boolean soup.continue over nested if in loops.Hard rules: preserve behavior · never game the metric (a dense one-liner hiding 6 branches is worse than the honest chain) · never break exported signatures without asking · one responsibility per function.
engine/risk-service.ts): sequential
early-return blocks are the documented convention (AGENTS.md) — splitting
scatters the gate narrative.Effect.gen blocks (engine/program.ts): splitting
obscures per-cycle sequencing; extract pure predicates instead.Source: tools/oxlint/anti-slop/ (.ts sources + index.mjs bundles +
upstream *.test.ts contracts, which need oxlint/plugins-dev to execute).
Rebuild bundles after any source change — never hand-edit .mjs:
bun build tools/oxlint/anti-slop/index.ts --outfile tools/oxlint/anti-slop/index.mjs
bun build tools/oxlint/anti-slop/effect/index.ts --outfile tools/oxlint/anti-slop/effect/index.mjsRules that most often bite: no-known-value-widening (open-dict
annotations — prefer finite type contracts, satisfies, accumulators, or
Map), require-safety-comment-for-type-assertion (every as needs a
SAFETY: justification with non-empty text), no-unknown-parameters /
no-unknown-returns (parse at the boundary, return named domain types).
Never suppress or weaken a rule — fix the code.
© irfndi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/prism-maintain of irfndi/prism-liquidity-agent.
Open the folder on GitHubat commit d15c63e
Prism Maintain next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Prism Maintain this skillirfndi/prism-liquidity-agent | 123 | — | ~1k | Automated safety check: Pass | MIT | |
| Code Quality Gatefengshao1227/ccg-workflow | 5.9k | — | ~593 | Automated safety check: Notes | MIT | |
| DeslopMrZoyo/deslop-GPT | 137 | — | ~4k | Automated safety check: Pass | MIT | |
| Deslopsanity-io/sanity | 6.4k | 6 repos | ~180 | Automated safety check: Pass | MIT | |
| Uncle Bob Craftsickn33/agentic-awesome-skills | 47k | 2 repos | ~2.6k | Automated safety check: Pass | MIT | |
| AI Indexmizchi/skills | 359 | — | ~3.6k | Automated safety check: Pass | None |
fengshao1227/ccg-workflow
Scans code for complexity, long functions, duplicated blocks, naming problems and code smells with a Node script, then reports and suggests refactors.
MrZoyo/deslop-GPT
Audit or apply evidence-backed, test-first subtractive cleanup for accumulated agent-created test bloat, verification theater, and defensive or fallback bloat while preserving independent external…
sanity-io/sanity
Remove AI-generated code slop and clean up code style. An agent skill from sanity-io/sanity.
sickn33/agentic-awesome-skills
A skill your agent uses when performing code review, writing or refactoring code, or discussing architecture; complements clean-code and does not replace project linter/formatter.
mizchi/skills
Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English.
yangyuan-zhen/PolyWeather
[OMX] Run an anti-slop cleanup/refactor/deslop workflow. An agent skill from yangyuan-zhen/PolyWeather.
irfndi/prism-liquidity-agent
Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools.
irfndi/prism-liquidity-agent
Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools, through the OpenClaw Gateway.
irfndi/prism-liquidity-agent
Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools, through Hermes ACP.
Categories
Maintain the Prism codebase: measure cyclomatic complexity, refactor hotspots, and enforce the anti-slop type discipline. Prism Maintain is an agent skill from irfndi/prism-liquidity-agent. Maintain the Prism codebase: measure cyclomatic complexity, refactor hotspots, and enforce the anti-slop type discipline.
Prism Maintain fits situations like: the user asks about complexity; maintainability; clean up the Prism repo.
Run `npx skills add irfndi/prism-liquidity-agent --skill prism-maintain -a claude-code`. Or copy the skill folder (skills/prism-maintain in irfndi/prism-liquidity-agent) into .claude/skills/prism-maintain in your project. Claude Code loads it when a task matches its description.
Run `npx skills add irfndi/prism-liquidity-agent --skill prism-maintain -a codex`. Or copy the skill folder (skills/prism-maintain in irfndi/prism-liquidity-agent) into .agents/skills/prism-maintain in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add irfndi/prism-liquidity-agent --skill prism-maintain -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prism-maintain, .gemini/skills/prism-maintain, .github/skills/prism-maintain and .opencode/skills/prism-maintain in your project.
Going by SKILL.md and its folder, Prism Maintain needs the command-line tools its instructions call (bun and bunx). Compatibility (from SKILL.md): Requires Bun 1.4+ and oxlint with the vendored anti-slop plugin..
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Prism Maintain is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Prism Maintain: Code Quality Gate (fengshao1227/ccg-workflow, 5.9k stars), Deslop (MrZoyo/deslop-GPT, 137 stars), Deslop (sanity-io/sanity, 6.4k stars) and Uncle Bob Craft (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
irfndi (a GitHub user) maintains it in irfndi/prism-liquidity-agent, which has 123 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 28, 2026.
Source: irfndi/prism-liquidity-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.