[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B197SQDZ5XWSC30NPK2ENP":3,"skill-same:01M7B197SQDZ5XWSC30NPK2ENP":63},{"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":42,"commitSha":43,"skillDirectory":44,"forksCount":14,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M7B197SQDZ5XWSC30NPK2ENP","notion-mcp-cli",null,"Notion MCP CLI usage: output format and curl fallback.","dbillion\u002Fhermes-skills-public","dbillion","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F49393855?v=4","01M7AVH8QPGCM8WKWS22TRT0T6","Oludayo Adeoye","01M7AVH8RD1JJWA0YS9CFEWAV9",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fproductivity\u002Fnotion-mcp-cli\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: notion-mcp-cli\ndescription: \"Notion MCP CLI usage: output format and curl fallback.\"\nversion: 1.0.0\nauthor: community\nlicense: MIT\nplatforms: [linux, macos, windows]\nprerequisites:\n  env_vars: [NOTION_TOKEN]\n  alt_config_path: ~\u002F.mcp_servers.json\nmetadata:\n  hermes:\n    tags: [Notion, MCP, CLI, Productivity]\n    homepage: https:\u002F\u002Fdevelopers.notion.com\n---\n\n# Notion MCP CLI Usage\n\nThis skill covers the specifics of using the Notion MCP server via `mcp-cli`, including handling the output format and falling back to curl when needed.\n\n## MCP CLI Output Format\n\nThe `mcp-cli call notion` command returns a JSON object with a `content` array. The actual Notion API response is in the `text` field of the first element of `content` as a JSON string. You may need to parse it twice.\n\n**Note on execution environment restrictions**: In some environments (like cron jobs with security policies), direct command substitution or piping to interpreters may be blocked. In such cases, write the output to a file first:\n```bash\n# Save MCP output to file\nmcp-cli call notion API-post-search '{\"query\":\"tasks\"}' 2>\u002Fdev\u002Fnull > \u002Ftmp\u002Fmcp_output.json\n# Extract the inner JSON string from the wrapper\ninner_json=$(jq -r '.content[0].text' \u002Ftmp\u002Fmcp_output.json)\n# Save the inner JSON for processing\necho \"$inner_json\" > \u002Ftmp\u002Fmcp_response.json\n# Now work with \u002Ftmp\u002Fmcp_response.json as you would with raw MCP output\n# For example, to get data source IDs:\njq -r '.results[] | select(.object==\"data_source\") | .id' \u002Ftmp\u002Fmcp_response.json\n```\n\nExample (for environments without restrictions):\n```bash\noutput=$(mcp-cli call notion API-post-search '{\"query\":\"tasks\"}')\n# Extract the inner JSON string\ninner_json=$(echo \"$output\" | jq -r '.content[0].text')\n# Then parse the inner JSON\nnotion_response=$(echo \"$inner_json\" | jq '.')\n```\n\n## Fallback to Curl\n\nIf the MCP server fails silently (returns exit 0 with empty stdout and stderr), fall back to direct curl calls using the token from `~\u002F.mcp_servers.json`.\n\nExample:\n```bash\ntoken=$(grep -o '\"NOTION_TOKEN\": *\"[^\"]*\"' ~\u002F.mcp_servers.json | cut -d'\"' -f4)\ncurl -s -X POST \"https:\u002F\u002Fapi.notion.com\u002Fv1\u002Fsearch\" \\\n  -H \"Authorization: Bearer $token\" \\\n  -H \"Notion-Version: 2022-06-28\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"query\": \"tasks\"}'\n```\n\n## Best Practices\n\n- Always use `Notion-Version: 2022-06-28` for compatibility.\n- When parsing mcp-cli output, use `jq -r '.content[0].text'` to extract the inner JSON string.\n- For complex queries, write JSON to a file and use stdin to avoid shell escaping issues.\n- In cron jobs, prefer the curl fallback for reliability.","# Notion MCP CLI Usage\n\nThis skill covers the specifics of using the Notion MCP server via `mcp-cli`, including handling the output format and falling back to curl when needed.\n\n## MCP CLI Output Format\n\nThe `mcp-cli call notion` command returns a JSON object with a `content` array. The actual Notion API response is in the `text` field of the first element of `content` as a JSON string. You may need to parse it twice.\n\n**Note on execution environment restrictions**: In some environments (like cron jobs with security policies), direct command substitution or piping to interpreters may be blocked. In such cases, write the output to a file first:\n```bash\n# Save MCP output to file\nmcp-cli call notion API-post-search '{\"query\":\"tasks\"}' 2>\u002Fdev\u002Fnull > \u002Ftmp\u002Fmcp_output.json\n# Extract the inner JSON string from the wrapper\ninner_json=$(jq -r '.content[0].text' \u002Ftmp\u002Fmcp_output.json)\n# Save the inner JSON for processing\necho \"$inner_json\" > \u002Ftmp\u002Fmcp_response.json\n# Now work with \u002Ftmp\u002Fmcp_response.json as you would with raw MCP output\n# For example, to get data source IDs:\njq -r '.results[] | select(.object==\"data_source\") | .id' \u002Ftmp\u002Fmcp_response.json\n```\n\nExample (for environments without restrictions):\n```bash\noutput=$(mcp-cli call notion API-post-search '{\"query\":\"tasks\"}')\n# Extract the inner JSON string\ninner_json=$(echo \"$output\" | jq -r '.content[0].text')\n# Then parse the inner JSON\nnotion_response=$(echo \"$inner_json\" | jq '.')\n```\n\n## Fallback to Curl\n\nIf the MCP server fails silently (returns exit 0 with empty stdout and stderr), fall back to direct curl calls using the token from `~\u002F.mcp_servers.json`.\n\nExample:\n```bash\ntoken=$(grep -o '\"NOTION_TOKEN\": *\"[^\"]*\"' ~\u002F.mcp_servers.json | cut -d'\"' -f4)\ncurl -s -X POST \"https:\u002F\u002Fapi.notion.com\u002Fv1\u002Fsearch\" \\\n  -H \"Authorization: Bearer $token\" \\\n  -H \"Notion-Version: 2022-06-28\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"query\": \"tasks\"}'\n```\n\n## Best Practices\n\n- Always use `Notion-Version: 2022-06-28` for compatibility.\n- When parsing mcp-cli output, use `jq -r '.content[0].text'` to extract the inner JSON string.\n- For complex queries, write JSON to a file and use stdin to avoid shell escaping issues.\n- In cron jobs, prefer the curl fallback for reliability.",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":34,"description":7,"prerequisites":38},"community","1.0.0",{"hermes":27},{"tags":28,"homepage":33},[29,30,31,32],"Notion","MCP","CLI","Productivity","https:\u002F\u002Fdevelopers.notion.com",[35,36,37],"linux","macos","windows",{"env_vars":39,"alt_config_path":41},[40],"NOTION_TOKEN","~\u002F.mcp_servers.json","master","f341c46fed021656175d5c9ccc67a72126e50bfb","skills\u002Fproductivity\u002Fnotion-mcp-cli","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public","https:\u002F\u002Fgithub.com\u002Fdbillion","I enjoy writing codes,teaching programming, solving problems, tasted automation in Python and never looked back😋😋😋💞","2026-10-14 03:31:55",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add dbillion\u002Fhermes-skills-public --skill notion-mcp-cli",{"tool":55,"command":56},"bunx","bunx skills add dbillion\u002Fhermes-skills-public --skill notion-mcp-cli",{"tool":58,"command":59},"pnpm","pnpm dlx skills add dbillion\u002Fhermes-skills-public --skill notion-mcp-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fproductivity\u002Fnotion-mcp-cli\u002FSKILL.md",true,[],[64,71,78,87,94,101],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7B25T0V7RBKES86Y3RTXQRN","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7B25DSBBMZRHVD28MAX7N5X","gemini-vision-fallback","Vision fallback: Gemini REST API if vision_analyze blocked.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fvision\u002Fgemini-vision-fallback\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7B22XW9QXT2ZWWXVZDFWYZP","twitter-cli","Use twitter-cli for ALL Twitter\u002FX operations — reading tweets, posting, replying, quoting, liking, retweeting, following, searching, user lookups. Invoke whenever user requests any Twitter interaction.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Ftwitter-cli\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Ftwitter-cli\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7B22QMWY1B4F7BC114RG4S6","prism-scan","Structural analysis through dynamically generated cognitive lenses. Generates the optimal analytical lens for the specific code\u002Fartifact, then executes it. Finds conservation laws, structural invariants, and concrete bugs that vanilla analysis misses. Use on any code file, system design, or text artifact.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fts-superhermes-prism-scan\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7B22JA5XCAP1ACT6V50WYR1","prism-reflect","Constraint transparency: analyzes an artifact structurally, then analyzes what its own analysis concealed. Produces a conservation law AND a constraint report showing what was maximized, what was sacrificed, and what to investigate next. The only AI skill that knows what it can't see.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fts-superhermes-prism-reflect\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7B22EB15M75M4X3C52YGDCC","prism-full","Full Prism: multi-pass structural analysis with mandatory adversarial self-correction. Designs custom analytical passes, executes them with chaining, then attacks its own findings before synthesizing. Use for maximum depth on important code or artifacts.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fts-superhermes-prism-full\u002FSKILL.md",[],[]]