[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77R2AWYW5QMHXXMD46NWA4B":3,"skill-same:01M77R2AWYW5QMHXXMD46NWA4B":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M77R2AWYW5QMHXXMD46NWA4B","philidor",null,"DeFi vault intelligence: risk scores, yield comparison, portfolio analysis, and oracle monitoring across Morpho, Yearn, Aave, Beefy, and Spark. Use when the user wants to find safe DeFi vaults, compare yields, check vault risk scores, analyze a wallet's DeFi positions, search for yield opportunities, monitor oracle freshness, or get DeFi market overview stats. Covers Ethereum, Base, Arbitrum, Polygon, Optimism, and Avalanche.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fp\u002Fphilidor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: philidor\ndescription: >\n  DeFi vault intelligence: risk scores, yield comparison, portfolio analysis,\n  and oracle monitoring across Morpho, Yearn, Aave, Beefy, and Spark.\n  Use when the user wants to find safe DeFi vaults, compare yields,\n  check vault risk scores, analyze a wallet's DeFi positions, search for\n  yield opportunities, monitor oracle freshness, or get DeFi market overview stats.\n  Covers Ethereum, Base, Arbitrum, Polygon, Optimism, and Avalanche.\nversion: 0.1.1\nmetadata:\n  {\n    'openclaw':\n      {\n        'emoji': '🏰',\n        'homepage': 'https:\u002F\u002Fphilidor.io',\n        'requires': { 'bins': ['philidor'] },\n        'install':\n          [\n            {\n              'kind': 'node',\n              'package': '@philidorlabs\u002Fcli',\n              'bins': ['philidor'],\n              'label': 'Install Philidor CLI',\n            },\n          ],\n      },\n  }\n---\n\n# Philidor — DeFi Vault Intelligence\n\nInstitutional-grade risk scores, yield comparison, portfolio analysis, and oracle monitoring for DeFi vaults across five major protocols and six chains.\n\n## Quick Start\n\n```bash\n# Platform overview — total TVL, vault counts, risk distribution\nphilidor stats\n\n# Search vaults by name, symbol, or asset\nphilidor search \"USDC\"\n\n# Analyze all DeFi positions for a wallet address\nphilidor portfolio 0xYourWalletAddress\n```\n\n## Core Concepts\n\n### Risk Tiers\n\nEvery vault receives a composite risk score from 0 to 10, grouped into three tiers:\n\n| Tier        | Score Range | Meaning                                                                                        |\n| ----------- | ----------- | ---------------------------------------------------------------------------------------------- |\n| **Prime**   | 8.0 - 10.0  | Institutional-grade. Battle-tested protocols, blue-chip assets, strong governance controls.    |\n| **Core**    | 5.0 - 7.9   | Solid fundamentals with some trade-offs in asset quality, audit coverage, or decentralisation. |\n| **Edge**    | 0.0 - 4.9   | Higher risk. Newer protocols, exotic assets, weaker control structures, or recent incidents.   |\n| **Unrated** | N\u002FA         | Insufficient data to score. Treated as high-risk by default.                                   |\n\nScores are derived from three weighted vectors:\n\n- **Asset Quality (40%)** — collateral quality, oracle reliability, liquidity depth, peg stability\n- **Platform & Strategy (40%)** — smart contract maturity, audit coverage, TVL track record, incident history\n- **Control & Governance (20%)** — timelock presence, multisig configuration, upgradeability, admin powers\n\n### APR (Annual Percentage Rate)\n\nAPR values are stored as **decimals**: `0.05` means **5%**.\n\n- **`apr_net`** — total APR including base yield plus any incentive rewards\n- **`base_apr`** — native protocol yield only (lending rate, share price accrual), before rewards\n- **Invariant**: `apr_net = base_apr + SUM(reward APRs)`\n\nReward types include `token_incentive` (MORPHO, ARB, SPK), `points`, `trading_fee` (LP fees), and `strategy` (Yearn sub-strategies).\n\n### Protocols\n\n| Protocol     | Description                                                                          |\n| ------------ | ------------------------------------------------------------------------------------ |\n| **Morpho**   | Optimised lending with curated vaults (Ethereum, Base)                               |\n| **Yearn v3** | Automated yield strategies (Ethereum, Polygon, Arbitrum, Base, Optimism)             |\n| **Aave v3**  | Blue-chip lending\u002Fborrowing (Ethereum, Polygon, Arbitrum, Avalanche, Optimism, Base) |\n| **Beefy**    | Multi-chain yield optimiser (12+ chains)                                             |\n| **Spark**    | MakerDAO lending markets (Ethereum)                                                  |\n\n### Chains\n\nEthereum, Base, Arbitrum, Polygon, Optimism, and Avalanche.\n\n## Commands\n\n### Discovery & Search\n\n```bash\n# List vaults with filters\nphilidor vaults\nphilidor vaults --chain ethereum\nphilidor vaults --protocol morpho\nphilidor vaults --risk-tier prime\nphilidor vaults --asset USDC\nphilidor vaults --min-tvl 1000000\nphilidor vaults --stablecoin --audited\nphilidor vaults --high-confidence             # Only vaults with high data confidence\nphilidor vaults --no-il                       # Exclude vaults with impermanent loss risk\nphilidor vaults --sort apr_net:desc --limit 10 --page 2\n\n# Search vaults by name, protocol, asset, or address\nphilidor search \"USDC\"\nphilidor search \"Aave\"\nphilidor search \"Gauntlet\"\nphilidor search \"USDC\" --limit 20             # Control result count (default: 10)\n\n# For filtered queries, use `vaults` with flags instead of search:\nphilidor vaults --asset USDC --chain base --risk-tier prime\nphilidor vaults --asset WETH --protocol morpho --sort apr_net:desc\n```\n\n### Vault Detail\n\n```bash\n# By vault ID\nphilidor vault \u003Cvault-id>\n\n# By network slug + contract address\nphilidor vault ethereum 0x1234...\n\n# Sub-resources (require network + address form)\nphilidor vault ethereum 0x1234... --events       # Event history (incidents, parameter changes)\nphilidor vault ethereum 0x1234... --markets      # Morpho market allocations\nphilidor vault ethereum 0x1234... --strategies   # Yearn strategies\nphilidor vault ethereum 0x1234... --rewards      # Reward breakdown (base + incentives)\n```\n\n### Portfolio\n\n```bash\n# All positions across all chains\nphilidor portfolio 0xWalletAddress\n\n# Filter to a specific chain\nphilidor portfolio 0xWalletAddress --chain base\n```\n\nReturns: vault details, chain, balance in USD, APR, risk score, risk tier for each position. Includes aggregates: total value, weighted risk, position count, risk distribution.\n\n### Comparison & Risk\n\n```bash\n# Side-by-side vault comparison (2-5 vault IDs)\nphilidor compare \u003Cvault-id-1> \u003Cvault-id-2> \u003Cvault-id-3>\n\n# Detailed risk vector breakdown for a specific vault\nphilidor risk breakdown \u003Cvault-id>\nphilidor risk breakdown ethereum 0x1234...\n\n# Explain the risk scoring methodology — tiers, vectors, weights\nphilidor risk explain\n\n# Vaults with recent critical security incidents\nphilidor risk incidents\n```\n\n### Reference Data\n\n```bash\n# List all supported protocols with vault counts and TVL\nphilidor protocols\n\n# Protocol detail — audit status, chain coverage, incident history\nphilidor protocol \u003Cid>\n\n# List curators (Morpho vault managers)\nphilidor curators\nphilidor curators --sort tvl_total:desc --limit 10 --page 1\n\n# Curator detail — managed vaults, TVL, performance\nphilidor curator \u003Cid>\n\n# Platform overview — total TVL, vault counts, risk distribution\nphilidor stats\n\n# Supported chains\nphilidor chains\n\n# Supported assets\nphilidor assets\n\n# Oracle feed freshness and deviation data\nphilidor oracles freshness\n```\n\n### Output Formats\n\nAll commands support three output formats:\n\n```bash\nphilidor vaults --json       # Structured JSON (best for agents and scripting)\nphilidor vaults --table      # Human-readable table (default in TTY)\nphilidor vaults --csv        # CSV for spreadsheets and data pipelines\n```\n\nWhen output is piped (non-TTY), JSON is the default. Use `--json` explicitly in agent workflows for consistency.\n\nAdditional global flags:\n\n```bash\n--api-url \u003Curl>              # Override API base URL (default: https:\u002F\u002Fapi.philidor.io)\n                             # Also respects PHILIDOR_API_URL environment variable\n```\n\n## Agent Workflows\n\n### Workflow 1: Find the Best Vault for a User's Needs\n\nStep-by-step pattern for recommending a vault based on user criteria.\n\n```bash\n# Step 1: Search for matching vaults\nphilidor search \"stablecoin vault on base\" --json\n# Returns matched vaults with TVL, APR, risk tier\n\n# Step 2: Compare the top candidates side-by-side\nphilidor compare \u003Cvault-id-1> \u003Cvault-id-2> \u003Cvault-id-3> --json\n# Compares TVL, APR (base + rewards), risk score, audited status, curator\n\n# Step 3: Deep-dive into the risk profile of the chosen vault\nphilidor risk breakdown \u003Cchosen-vault-id> --json\n# Full risk vector breakdown:\n#   - Asset risk (collateral quality, oracle reliability, liquidity depth)\n#   - Platform risk (smart contract maturity, audit coverage, incident history)\n#   - Control risk (governance, timelock, upgradeability, admin powers)\n\n# Step 4: Check recent events for any red flags\nphilidor vault \u003Cnetwork> \u003Caddress> --events --json\n# Recent events: incidents, parameter changes, pauses\n\n# Decision: Recommend the vault with the best risk-adjusted yield.\n# Flag any Edge-tier vaults or recent incidents to the user.\n```\n\n### Workflow 2: Compare Protocols for Yield Farming\n\nStep-by-step pattern for cross-protocol yield comparison.\n\n```bash\n# Step 1: Get protocol overview\nphilidor protocols --json\n# Lists all protocols with vault counts, TVL, risk distribution\n\n# Step 2: Get top vaults per protocol (can run in parallel)\nphilidor vaults --protocol morpho --sort apr_net:desc --limit 5 --json\nphilidor vaults --protocol aave-v3 --sort apr_net:desc --limit 5 --json\nphilidor vaults --protocol yearn-v3 --sort apr_net:desc --limit 5 --json\n# Top 5 vaults per protocol ranked by yield\n\n# Step 3: Compare the best vaults across protocols\nphilidor compare \u003Cbest-morpho-id> \u003Cbest-aave-id> \u003Cbest-yearn-id> --json\n# Cross-protocol comparison for the same asset class\n\n# Step 4: Get protocol-level details\nphilidor protocol morpho --json\n# Protocol detail: audit status, versions, incident history, chain coverage\n\n# Decision: Compare yield vs risk across protocols.\n# Note audited vs unaudited versions and flag incident history.\n```\n\n### Workflow 3: Analyze Portfolio Risk\n\nStep-by-step pattern for assessing and improving a wallet's DeFi risk profile.\n\n```bash\n# Step 1: Get all positions\nphilidor portfolio 0xWalletAddress --json\n# All positions: vault, chain, balance_usd, APR, risk_score, risk_tier\n# Aggregates: total value, weighted risk, position count, risk distribution\n\n# Step 2: Identify risky positions\n# Filter results for positions with risk_tier = \"Edge\" or risk_score \u003C 5\n\n# Step 3: Investigate each risky position\nphilidor risk breakdown \u003Crisky-vault-id> --json\n# What is driving the low score? Asset? Platform? Control?\n\n# Step 4: Find safer alternatives for the same asset\nphilidor search \"USDC prime audited\" --json\n# Or use:\nphilidor vaults --asset USDC --risk-tier prime --audited --json\n# Find Prime-tier alternatives for the same asset\n\n# Decision: Present a portfolio risk summary to the user.\n# Highlight Edge-tier positions and suggest Prime alternatives\n# with comparable or better yield.\n```\n\n### Workflow 4: Monitor Vault Safety\n\nStep-by-step pattern for ongoing safety monitoring.\n\n```bash\n# Step 1: Check for active incidents across all protocols\nphilidor risk incidents --json\n# Vaults with recent critical incidents\n\n# Step 2: Check oracle health\nphilidor oracles freshness --json\n# Oracle feed freshness: stale feeds, deviation alerts\n\n# Step 3: Check event history for a specific vault\nphilidor vault \u003Cnetwork> \u003Caddress> --events --json\n# Event timeline: incidents, parameter changes, pauses\n\n# Decision: Flag vaults with active incidents or stale oracle feeds.\n# Recommend pausing deposits until issues are resolved.\n```\n\n## Interpreting Output\n\nKey fields and their formats:\n\n| Field            | Format          | Example                                   | Notes                                                            |\n| ---------------- | --------------- | ----------------------------------------- | ---------------------------------------------------------------- |\n| `apr_net`        | Decimal         | `0.0523`                                  | Total APR = 5.23%. Includes base yield + rewards.                |\n| `base_apr`       | Decimal         | `0.0340`                                  | Base yield only = 3.40%. Native protocol rate before incentives. |\n| `tvl_usd`        | Number (string) | `\"12500000.50\"`                           | Total value locked in USD. Returned as string for precision.     |\n| `total_score`    | Number or null  | `8.3`                                     | Composite risk score 0-10. Null means unrated.                   |\n| `risk_tier`      | String          | `\"Prime\"`                                 | Derived from total_score: Prime (>=8), Core (5-7.9), Edge (\u003C5).  |\n| `risk_vectors`   | Object          | `{\"asset\":{\"score\":8.5},...}`             | Breakdown: asset (40%), platform (40%), control (20%).           |\n| `is_audited`     | Boolean         | `true`                                    | Whether the protocol version has been audited.                   |\n| `last_synced_at` | ISO 8601        | `\"2026-02-26T12:00:00Z\"`                  | When the vault data was last refreshed from on-chain.            |\n| `rewards`        | Array           | `[{\"token_symbol\":\"MORPHO\",\"apr\":0.018}]` | Individual reward token APRs. Sum + base_apr = apr_net.          |\n\n## Error Handling\n\n| Error                   | Cause                                     | Fix                                                                                                                      |\n| ----------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| `Connection refused`    | API server unreachable                    | Check network connectivity. Verify `--api-url` if using a custom endpoint. The default is `https:\u002F\u002Fapi.philidor.io`.     |\n| `404 Not Found`         | Invalid vault ID, protocol ID, or address | Verify the vault ID exists with `philidor vaults`. Check that the network slug is correct (e.g., `ethereum`, not `eth`). |\n| `429 Too Many Requests` | Rate limit exceeded                       | Wait and retry. The public API allows generous read limits but has per-IP throttling. Space out bulk queries.            |\n| `Request timeout`       | API response took too long                | Retry the request. For large result sets, use `--limit` to reduce page size.                                             |\n| `Invalid chain`         | Unsupported chain slug                    | Run `philidor chains` to see valid chain slugs.                                                                          |\n\n## Best Practices\n\n1. **Always use `--json` in agent workflows.** JSON output is structured, stable, and machine-parseable. Table output is for human consumption only and may change format between versions.\n\n2. **Check risk before recommending any vault.** Never recommend a vault based on APR alone. Always run `philidor risk breakdown \u003Cid>` and check for Edge-tier scores or recent incidents via `philidor risk incidents`.\n\n3. **Note data freshness timestamps.** The `last_synced_at` field indicates when vault data was last refreshed from on-chain sources. Data older than a few hours may not reflect current APR or TVL. Flag stale data to users.\n\n4. **Cross-reference incidents and oracle health.** Before recommending a vault, check `philidor risk incidents` for active security events and `philidor oracles freshness` for stale price feeds. These can materially affect vault safety.\n\n5. **Use portfolio context for personalised advice.** When a user has a wallet address, start with `philidor portfolio \u003Caddress>` to understand their existing positions before suggesting new vaults. This enables risk-aware recommendations that consider concentration and diversification.\n\n## Resources\n\n- **Website**: [https:\u002F\u002Fphilidor.io](https:\u002F\u002Fphilidor.io)\n- **API Documentation**: [https:\u002F\u002Fapi.philidor.io\u002Fv1\u002Fdocs](https:\u002F\u002Fapi.philidor.io\u002Fv1\u002Fdocs)\n- **Risk Methodology**: `philidor risk explain` or [https:\u002F\u002Fphilidor.io\u002Frisk](https:\u002F\u002Fphilidor.io\u002Frisk)\n","# Philidor — DeFi Vault Intelligence\n\nInstitutional-grade risk scores, yield comparison, portfolio analysis, and oracle monitoring for DeFi vaults across five major protocols and six chains.\n\n## Quick Start\n\n```bash\n# Platform overview — total TVL, vault counts, risk distribution\nphilidor stats\n\n# Search vaults by name, symbol, or asset\nphilidor search \"USDC\"\n\n# Analyze all DeFi positions for a wallet address\nphilidor portfolio 0xYourWalletAddress\n```\n\n## Core Concepts\n\n### Risk Tiers\n\nEvery vault receives a composite risk score from 0 to 10, grouped into three tiers:\n\n| Tier        | Score Range | Meaning                                                                                        |\n| ----------- | ----------- | ---------------------------------------------------------------------------------------------- |\n| **Prime**   | 8.0 - 10.0  | Institutional-grade. Battle-tested protocols, blue-chip assets, strong governance controls.    |\n| **Core**    | 5.0 - 7.9   | Solid fundamentals with some trade-offs in asset quality, audit coverage, or decentralisation. |\n| **Edge**    | 0.0 - 4.9   | Higher risk. Newer protocols, exotic assets, weaker control structures, or recent incidents.   |\n| **Unrated** | N\u002FA         | Insufficient data to score. Treated as high-risk by default.                                   |\n\nScores are derived from three weighted vectors:\n\n- **Asset Quality (40%)** — collateral quality, oracle reliability, liquidity depth, peg stability\n- **Platform & Strategy (40%)** — smart contract maturity, audit coverage, TVL track record, incident history\n- **Control & Governance (20%)** — timelock presence, multisig configuration, upgradeability, admin powers\n\n### APR (Annual Percentage Rate)\n\nAPR values are stored as **decimals**: `0.05` means **5%**.\n\n- **`apr_net`** — total APR including base yield plus any incentive rewards\n- **`base_apr`** — native protocol yield only (lending rate, share price accrual), before rewards\n- **Invariant**: `apr_net = base_apr + SUM(reward APRs)`\n\nReward types include `token_incentive` (MORPHO, ARB, SPK), `points`, `trading_fee` (LP fees), and `strategy` (Yearn sub-strategies).\n\n### Protocols\n\n| Protocol     | Description                                                                          |\n| ------------ | ------------------------------------------------------------------------------------ |\n| **Morpho**   | Optimised lending with curated vaults (Ethereum, Base)                               |\n| **Yearn v3** | Automated yield strategies (Ethereum, Polygon, Arbitrum, Base, Optimism)             |\n| **Aave v3**  | Blue-chip lending\u002Fborrowing (Ethereum, Polygon, Arbitrum, Avalanche, Optimism, Base) |\n| **Beefy**    | Multi-chain yield optimiser (12+ chains)                                             |\n| **Spark**    | MakerDAO lending markets (Ethereum)                                                  |\n\n### Chains\n\nEthereum, Base, Arbitrum, Polygon, Optimism, and Avalanche.\n\n## Commands\n\n### Discovery & Search\n\n```bash\n# List vaults with filters\nphilidor vaults\nphilidor vaults --chain ethereum\nphilidor vaults --protocol morpho\nphilidor vaults --risk-tier prime\nphilidor vaults --asset USDC\nphilidor vaults --min-tvl 1000000\nphilidor vaults --stablecoin --audited\nphilidor vaults --high-confidence             # Only vaults with high data confidence\nphilidor vaults --no-il                       # Exclude vaults with impermanent loss risk\nphilidor vaults --sort apr_net:desc --limit 10 --page 2\n\n# Search vaults by name, protocol, asset, or address\nphilidor search \"USDC\"\nphilidor search \"Aave\"\nphilidor search \"Gauntlet\"\nphilidor search \"USDC\" --limit 20             # Control result count (default: 10)\n\n# For filtered queries, use `vaults` with flags instead of search:\nphilidor vaults --asset USDC --chain base --risk-tier prime\nphilidor vaults --asset WETH --protocol morpho --sort apr_net:desc\n```\n\n### Vault Detail\n\n```bash\n# By vault ID\nphilidor vault \u003Cvault-id>\n\n# By network slug + contract address\nphilidor vault ethereum 0x1234...\n\n# Sub-resources (require network + address form)\nphilidor vault ethereum 0x1234... --events       # Event history (incidents, parameter changes)\nphilidor vault ethereum 0x1234... --markets      # Morpho market allocations\nphilidor vault ethereum 0x1234... --strategies   # Yearn strategies\nphilidor vault ethereum 0x1234... --rewards      # Reward breakdown (base + incentives)\n```\n\n### Portfolio\n\n```bash\n# All positions across all chains\nphilidor portfolio 0xWalletAddress\n\n# Filter to a specific chain\nphilidor portfolio 0xWalletAddress --chain base\n```\n\nReturns: vault details, chain, balance in USD, APR, risk score, risk tier for each position. Includes aggregates: total value, weighted risk, position count, risk distribution.\n\n### Comparison & Risk\n\n```bash\n# Side-by-side vault comparison (2-5 vault IDs)\nphilidor compare \u003Cvault-id-1> \u003Cvault-id-2> \u003Cvault-id-3>\n\n# Detailed risk vector breakdown for a specific vault\nphilidor risk breakdown \u003Cvault-id>\nphilidor risk breakdown ethereum 0x1234...\n\n# Explain the risk scoring methodology — tiers, vectors, weights\nphilidor risk explain\n\n# Vaults with recent critical security incidents\nphilidor risk incidents\n```\n\n### Reference Data\n\n```bash\n# List all supported protocols with vault counts and TVL\nphilidor protocols\n\n# Protocol detail — audit status, chain coverage, incident history\nphilidor protocol \u003Cid>\n\n# List curators (Morpho vault managers)\nphilidor curators\nphilidor curators --sort tvl_total:desc --limit 10 --page 1\n\n# Curator detail — managed vaults, TVL, performance\nphilidor curator \u003Cid>\n\n# Platform overview — total TVL, vault counts, risk distribution\nphilidor stats\n\n# Supported chains\nphilidor chains\n\n# Supported assets\nphilidor assets\n\n# Oracle feed freshness and deviation data\nphilidor oracles freshness\n```\n\n### Output Formats\n\nAll commands support three output formats:\n\n```bash\nphilidor vaults --json       # Structured JSON (best for agents and scripting)\nphilidor vaults --table      # Human-readable table (default in TTY)\nphilidor vaults --csv        # CSV for spreadsheets and data pipelines\n```\n\nWhen output is piped (non-TTY), JSON is the default. Use `--json` explicitly in agent workflows for consistency.\n\nAdditional global flags:\n\n```bash\n--api-url \u003Curl>              # Override API base URL (default: https:\u002F\u002Fapi.philidor.io)\n                             # Also respects PHILIDOR_API_URL environment variable\n```\n\n## Agent Workflows\n\n### Workflow 1: Find the Best Vault for a User's Needs\n\nStep-by-step pattern for recommending a vault based on user criteria.\n\n```bash\n# Step 1: Search for matching vaults\nphilidor search \"stablecoin vault on base\" --json\n# Returns matched vaults with TVL, APR, risk tier\n\n# Step 2: Compare the top candidates side-by-side\nphilidor compare \u003Cvault-id-1> \u003Cvault-id-2> \u003Cvault-id-3> --json\n# Compares TVL, APR (base + rewards), risk score, audited status, curator\n\n# Step 3: Deep-dive into the risk profile of the chosen vault\nphilidor risk breakdown \u003Cchosen-vault-id> --json\n# Full risk vector breakdown:\n#   - Asset risk (collateral quality, oracle reliability, liquidity depth)\n#   - Platform risk (smart contract maturity, audit coverage, incident history)\n#   - Control risk (governance, timelock, upgradeability, admin powers)\n\n# Step 4: Check recent events for any red flags\nphilidor vault \u003Cnetwork> \u003Caddress> --events --json\n# Recent events: incidents, parameter changes, pauses\n\n# Decision: Recommend the vault with the best risk-adjusted yield.\n# Flag any Edge-tier vaults or recent incidents to the user.\n```\n\n### Workflow 2: Compare Protocols for Yield Farming\n\nStep-by-step pattern for cross-protocol yield comparison.\n\n```bash\n# Step 1: Get protocol overview\nphilidor protocols --json\n# Lists all protocols with vault counts, TVL, risk distribution\n\n# Step 2: Get top vaults per protocol (can run in parallel)\nphilidor vaults --protocol morpho --sort apr_net:desc --limit 5 --json\nphilidor vaults --protocol aave-v3 --sort apr_net:desc --limit 5 --json\nphilidor vaults --protocol yearn-v3 --sort apr_net:desc --limit 5 --json\n# Top 5 vaults per protocol ranked by yield\n\n# Step 3: Compare the best vaults across protocols\nphilidor compare \u003Cbest-morpho-id> \u003Cbest-aave-id> \u003Cbest-yearn-id> --json\n# Cross-protocol comparison for the same asset class\n\n# Step 4: Get protocol-level details\nphilidor protocol morpho --json\n# Protocol detail: audit status, versions, incident history, chain coverage\n\n# Decision: Compare yield vs risk across protocols.\n# Note audited vs unaudited versions and flag incident history.\n```\n\n### Workflow 3: Analyze Portfolio Risk\n\nStep-by-step pattern for assessing and improving a wallet's DeFi risk profile.\n\n```bash\n# Step 1: Get all positions\nphilidor portfolio 0xWalletAddress --json\n# All positions: vault, chain, balance_usd, APR, risk_score, risk_tier\n# Aggregates: total value, weighted risk, position count, risk distribution\n\n# Step 2: Identify risky positions\n# Filter results for positions with risk_tier = \"Edge\" or risk_score \u003C 5\n\n# Step 3: Investigate each risky position\nphilidor risk breakdown \u003Crisky-vault-id> --json\n# What is driving the low score? Asset? Platform? Control?\n\n# Step 4: Find safer alternatives for the same asset\nphilidor search \"USDC prime audited\" --json\n# Or use:\nphilidor vaults --asset USDC --risk-tier prime --audited --json\n# Find Prime-tier alternatives for the same asset\n\n# Decision: Present a portfolio risk summary to the user.\n# Highlight Edge-tier positions and suggest Prime alternatives\n# with comparable or better yield.\n```\n\n### Workflow 4: Monitor Vault Safety\n\nStep-by-step pattern for ongoing safety monitoring.\n\n```bash\n# Step 1: Check for active incidents across all protocols\nphilidor risk incidents --json\n# Vaults with recent critical incidents\n\n# Step 2: Check oracle health\nphilidor oracles freshness --json\n# Oracle feed freshness: stale feeds, deviation alerts\n\n# Step 3: Check event history for a specific vault\nphilidor vault \u003Cnetwork> \u003Caddress> --events --json\n# Event timeline: incidents, parameter changes, pauses\n\n# Decision: Flag vaults with active incidents or stale oracle feeds.\n# Recommend pausing deposits until issues are resolved.\n```\n\n## Interpreting Output\n\nKey fields and their formats:\n\n| Field            | Format          | Example                                   | Notes                                                            |\n| ---------------- | --------------- | ----------------------------------------- | ---------------------------------------------------------------- |\n| `apr_net`        | Decimal         | `0.0523`                                  | Total APR = 5.23%. Includes base yield + rewards.                |\n| `base_apr`       | Decimal         | `0.0340`                                  | Base yield only = 3.40%. Native protocol rate before incentives. |\n| `tvl_usd`        | Number (string) | `\"12500000.50\"`                           | Total value locked in USD. Returned as string for precision.     |\n| `total_score`    | Number or null  | `8.3`                                     | Composite risk score 0-10. Null means unrated.                   |\n| `risk_tier`      | String          | `\"Prime\"`                                 | Derived from total_score: Prime (>=8), Core (5-7.9), Edge (\u003C5).  |\n| `risk_vectors`   | Object          | `{\"asset\":{\"score\":8.5},...}`             | Breakdown: asset (40%), platform (40%), control (20%).           |\n| `is_audited`     | Boolean         | `true`                                    | Whether the protocol version has been audited.                   |\n| `last_synced_at` | ISO 8601        | `\"2026-02-26T12:00:00Z\"`                  | When the vault data was last refreshed from on-chain.            |\n| `rewards`        | Array           | `[{\"token_symbol\":\"MORPHO\",\"apr\":0.018}]` | Individual reward token APRs. Sum + base_apr = apr_net.          |\n\n## Error Handling\n\n| Error                   | Cause                                     | Fix                                                                                                                      |\n| ----------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| `Connection refused`    | API server unreachable                    | Check network connectivity. Verify `--api-url` if using a custom endpoint. The default is `https:\u002F\u002Fapi.philidor.io`.     |\n| `404 Not Found`         | Invalid vault ID, protocol ID, or address | Verify the vault ID exists with `philidor vaults`. Check that the network slug is correct (e.g., `ethereum`, not `eth`). |\n| `429 Too Many Requests` | Rate limit exceeded                       | Wait and retry. The public API allows generous read limits but has per-IP throttling. Space out bulk queries.            |\n| `Request timeout`       | API response took too long                | Retry the request. For large result sets, use `--limit` to reduce page size.                                             |\n| `Invalid chain`         | Unsupported chain slug                    | Run `philidor chains` to see valid chain slugs.                                                                          |\n\n## Best Practices\n\n1. **Always use `--json` in agent workflows.** JSON output is structured, stable, and machine-parseable. Table output is for human consumption only and may change format between versions.\n\n2. **Check risk before recommending any vault.** Never recommend a vault based on APR alone. Always run `philidor risk breakdown \u003Cid>` and check for Edge-tier scores or recent incidents via `philidor risk incidents`.\n\n3. **Note data freshness timestamps.** The `last_synced_at` field indicates when vault data was last refreshed from on-chain sources. Data older than a few hours may not reflect current APR or TVL. Flag stale data to users.\n\n4. **Cross-reference incidents and oracle health.** Before recommending a vault, check `philidor risk incidents` for active security events and `philidor oracles freshness` for stale price feeds. These can materially affect vault safety.\n\n5. **Use portfolio context for personalised advice.** When a user has a wallet address, start with `philidor portfolio \u003Caddress>` to understand their existing positions before suggesting new vaults. This enables risk-aware recommendations that consider concentration and diversification.\n\n## Resources\n\n- **Website**: [https:\u002F\u002Fphilidor.io](https:\u002F\u002Fphilidor.io)\n- **API Documentation**: [https:\u002F\u002Fapi.philidor.io\u002Fv1\u002Fdocs](https:\u002F\u002Fapi.philidor.io\u002Fv1\u002Fdocs)\n- **Risk Methodology**: `philidor risk explain` or [https:\u002F\u002Fphilidor.io\u002Frisk](https:\u002F\u002Fphilidor.io\u002Frisk)\n",{"name":5,"version":24,"metadata":25,"description":37},"0.1.1",{"openclaw":26},{"emoji":27,"install":28,"homepage":34,"requires":35},"🏰",[29],{"bins":30,"kind":31,"label":32,"package":33},[5],"node","Install Philidor CLI","@philidorlabs\u002Fcli","https:\u002F\u002Fphilidor.io",{"bins":36},[5],"DeFi vault intelligence: risk scores, yield comparison, portfolio analysis, and oracle monitoring across Morpho, Yearn, Aave, Beefy, and Spark. Use when the user wants to find safe DeFi vaults, compare yields, check vault risk scores, analyze a wallet's DeFi positions, search for yield opportunities, monitor oracle freshness, or get DeFi market overview stats. Covers Ethereum, Base, Arbitrum, Polygon, Optimism, and Avalanche.\n","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fp\u002Fphilidor",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill philidor",{"tool":53,"command":54},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill philidor",{"tool":56,"command":57},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill philidor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fp\u002Fphilidor\u002FSKILL.md",true,[],[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]