solution-loop

solution-loop is a skill for Codex from PANGKAIFENG/ai-product-manager-skills. It costs 81 tokens per session (551 once invoked), scanned A, original, MIT.

A short review-and-revise cycle for an existing solution, where one critic identifies a key weakness and the design is revised before being checked again.

In plain words
What is it for?
Use it to challenge candidate product or implementation solutions, fix the most important design gap, track revisions and decide whether the solution is ready or needs human judgment.
Why use it?
It prevents teams from endlessly rewriting a proposal or approving their own changes without testing the original problem.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it to challenge candidate product or implementation solutions, fix the most important design gap, track revisions and decide whether the solution is ready or needs human judgment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pangkaifeng/ai-product-manager-skills/solution-loop
Install

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.

Any agent
npx skills add PANGKAIFENG/ai-product-manager-skills --skill solution-loop
Clone the repo
git clone --depth 1 https://github.com/PANGKAIFENG/ai-product-manager-skills

Made for: Codex.

Wrote 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.

agentmods badge for solution-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/pangkaifeng/ai-product-manager-skills/solution-loop/github.svg)](https://agentmods.dev/skills/pangkaifeng/ai-product-manager-skills/solution-loop)
Your own site
<a href="https://agentmods.dev/skills/pangkaifeng/ai-product-manager-skills/solution-loop"><img src="https://agentmods.dev/badge/skills/pangkaifeng/ai-product-manager-skills/solution-loop/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.

agentmods 80×15 button for solution-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/pangkaifeng/ai-product-manager-skills/solution-loop"><img src="https://agentmods.dev/badge/skills/pangkaifeng/ai-product-manager-skills/solution-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 551 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.00551
Opus 5 $0.00041 $0.00275
Sonnet 5 $0.00016 $0.00110
Haiku 4.5 $0.00008 $0.00055

Measured 12d ago against content hash 154dab257835, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

solution-loop 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 12d 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.

loops/solution-loop/SKILL.md · 36 lines

What it actually says

方案闭环

这是 loop 的 Codex Runtime 入口,不是新的方案 Skill。先读取同目录 LOOP.md,再使用 brainstorminggrill-me 关闭方案中的关键缺口。

目标与输入

目标是关闭候选方案的关键缺口,而不是不断重写整个方案。Entry Gate 必须已有可识别版本的候选方案、范围、关键流程和风险。没有候选方案时使用 brainstorming;问题和目标仍模糊时使用 $problem-to-solution

工作流

  1. 建立或恢复 Loop 状态,max_cycles 固定为 3。
  2. 使用 grill-me 找到最早、最关键且可修复的因果缺口,生成一个 Challenge Record。
  3. 使用 brainstorming 只修改该 challenge 影响的部分,输出 Design Delta 和保留项。
  4. 把同一 challenge 交回 grill-me 复核;Maker 不得自批 clear。
  5. 当前 challenge 关闭后,判断方案是否确认、是否还有一个新的阻断 gap,或是否进入 Human Gate。

输出

每轮返回 cycle、方案版本、active challenge、closure criterion、Design Delta、保留项、状态和恢复点。结束时只报告 solution_confirmedhuman_gateblocked,不自动写 PRD 或调用外部 Publisher。

完成定义

只有 Critic 依据同一 closure criterion 关闭当前 challenge,且没有新的阻断 gap,才输出 solution_confirmed。三轮上限、连续两轮无有效 Design Delta 或业务取舍不可推断时进入 Human Gate。

资源与验证

  • LOOP.md 是 Maker/Critic 分工、状态字段和停止条件的权威合同,每次执行或恢复前读取。
  • evals/evals.json 覆盖标准闭环、cycle 2 恢复、无候选方案分流和轮次上限回归;修改入口后运行这些评测并保留结果。
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 12d ago First seen · 36 lines · 81 tokens per session scan A 154dab257835

Subscribe to this mod's changes

solution-loop is a skill published in the GitHub repository PANGKAIFENG/ai-product-manager-skills (11 stars, last pushed 12d ago), licensed MIT. It adds 81 tokens to every session and 551 once invoked, about $0.0004 per session on Opus 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.

Related

Other skills, from other repositories

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

baoyu-comic

A tool for creating original educational comics that explain knowledge or ideas through multiple illustrated panels. It supports different art styles and tones and can create several comics in one batch.

JimLiu/baoyu-skills · 61 tokens

baoyu-diagram

Create professional, dark-themed SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system…

JimLiu/baoyu-skills · 146 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens

agent-wiki

Incremental LLM-friendly wiki generator for Obsidian note vaults. Use when: (1) Building wiki from notes, (2) Ingesting notes to wiki, (3) Obsidian LLM wiki, (4) Incremental knowledge base management. Triggers: 'build wiki from notes', 'ingest notes to wiki', 'Obsidian LLM wiki', 'incremental knowledge base'.

Dianel555/DSkills · 89 tokens

sequential-think

Multi-step reasoning engine for complex analysis and systematic problem solving. Use when: (1) Complex debugging scenarios with multiple layers, (2) Architectural analysis and system design, (3) Problems requiring hypothesis testing and validation, (4) Multi-component failure investigation, (5) Performance bottleneck…

Dianel555/DSkills · 110 tokens