By yihan2099
Agent procurement skill — five-tier decision protocol (Cache → Use → Gen → Pay → Delegate) for fulfilling capabilities at minimum cost
The open procurement layer for AI agents.
A decision protocol that teaches any AI agent how to fulfill capabilities at the lowest cost, powered by community intelligence.
CACHE → USE → GEN → PAY → DELEGATE
$0 $0 tokens $$ $$$
instant fast slow fast async
The rule: never escalate to a higher-cost tier when a lower one can do the job.
Community intelligence: every tier is informed by shared decision records from other users. Before deciding, check what others have tried and what worked.
/plugin marketplace add yihan2099/use-gen-pay
/plugin install openprocurement@openprocurement
Then use:
/openprocurement:procurement
Claude will automatically apply the five-tier decision protocol when fulfilling capabilities.
You can also use the skill directly without the plugin system:
skills/procurement/SKILL.md in your agent's system promptNo dependencies. No SDK.
| Tier | Cost | When |
|---|---|---|
| CACHE | $0 | Already did this — reuse the result |
| USE | $0 | Free tool, MCP server, OSS, free API tier |
| GEN | tokens | LLM generates it (costs tokens + time) |
| PAY | $$ | Paid API via x402 |
| DELEGATE | $$+ | Another agent or human handles it |
The decisions/ directory contains community-submitted decision records. These are real-world results from agents and users who have run the cascade.
To contribute: submit a PR adding a .yml file to decisions/ using the schema in decisions/_schema.yml.
How it helps:
Agent needs to extract data from a PDF:
| Tier | Option | Cost | Quality |
|---|---|---|---|
| CACHE | Already extracted this file earlier | $0 | 1.0 |
| USE | Built-in PDF reader | $0 | 0.75 |
| GEN | Read + structure with LLM reasoning | tokens | 0.80 |
| PAY | DocumentAI API via x402 | $0.10 | 0.98 |
| DELEGATE | Send to specialized doc-processing agent | $0.50 | 0.99 |
With strategy: cheapest → checks cache first, then uses built-in PDF reader. $0 spent.
With strategy: best_quality → pays DocumentAI or delegates. Real money spent.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub yihan2099/openprocurement --plugin openprocurementTurn a persistent Claude Code session into a 24/7 daemon with task queue. Iterates on tasks ralph-loop style, processes a queue, and idles when empty. Perfect for tmux sessions.
Personal AI agent skills — batch project maintenance, learning strategy, and workflow optimization.
Closed-loop workflow optimization — measure, categorize failures, fix, and re-measure until target success rate
Supply chain and procurement domain agent. 8 skills covering vendor assessment, invoice reconciliation, supplier risk monitoring, logistics analysis, spend analytics, network design, vendor communications, and executive briefing. 5 persistent agents for continuous supply chain intelligence. No jurisdiction overlays -- policy-configurable via supply-chain.local.md.
P2P agent capability network — discover and request capabilities from peer agents when you lack TTS, image gen, video, OCR, specialized data, or any API-dependent skill. Pay with credits.
Auto-improving AI sub-agents that learn from their mistakes across sessions
Write a Markdown contract (`.prose.md`). Your agent reads it, wires services, runs subagents, and leaves an auditable trace.
Smart LLM routing with Claude subscription monitoring, complexity-first model selection, and 20+ AI providers
Generate professional Statements of Work for AI projects