{"kind":"Skill","metadata":{"namespace":"community","name":"feishu-wiki","version":"0.1.0"},"spec":{"description":"|","files":{"SKILL.md":"---\nname: feishu-wiki\ndescription: |\n  Feishu knowledge base navigation. Activate when user mentions knowledge base, wiki, or wiki links.\n---\n\n# Feishu Wiki Tool\n\nSingle tool `feishu_wiki` for knowledge base operations.\n\nWiki `space_id` values are opaque strings. Always keep them quoted in tool calls, even when they contain only digits; passing a long numeric-looking ID as a number can corrupt the suffix due to JavaScript number precision limits.\n\n## Token Extraction\n\nFrom URL `https://xxx.feishu.cn/wiki/ABC123def` → `token` = `ABC123def`\n\n## Actions\n\n### List Knowledge Spaces\n\n```json\n{ \"action\": \"spaces\" }\n```\n\nReturns all accessible wiki spaces.\n\n### List Nodes\n\n```json\n{ \"action\": \"nodes\", \"space_id\": \"7xxx\" }\n```\n\nWith parent:\n\n```json\n{ \"action\": \"nodes\", \"space_id\": \"7xxx\", \"parent_node_token\": \"wikcnXXX\" }\n```\n\n### Get Node Details\n\n```json\n{ \"action\": \"get\", \"token\": \"ABC123def\" }\n```\n\nReturns: `node_token`, `obj_token`, `obj_type`, etc. Use `obj_token` with `feishu_doc` to read/write the document.\n\n### Create Node\n\n```json\n{ \"action\": \"create\", \"space_id\": \"7xxx\", \"title\": \"New Page\" }\n```\n\nWith type and parent:\n\n```json\n{\n  \"action\": \"create\",\n  \"space_id\": \"7xxx\",\n  \"title\": \"Sheet\",\n  \"obj_type\": \"sheet\",\n  \"parent_node_token\": \"wikcnXXX\"\n}\n```\n\n`obj_type`: `docx` (default), `sheet`, `bitable`, `mindnote`, `file`, `doc`, `slides`\n\n### Move Node\n\n```json\n{ \"action\": \"move\", \"space_id\": \"7xxx\", \"node_token\": \"wikcnXXX\" }\n```\n\nTo different location:\n\n```json\n{\n  \"action\": \"move\",\n  \"space_id\": \"7xxx\",\n  \"node_token\": \"wikcnXXX\",\n  \"target_space_id\": \"7yyy\",\n  \"target_parent_token\": \"wikcnYYY\"\n}\n```\n\n### Rename Node\n\n```json\n{ \"action\": \"rename\", \"space_id\": \"7xxx\", \"node_token\": \"wikcnXXX\", \"title\": \"New Title\" }\n```\n\n## Wiki-Doc Workflow\n\nTo edit a wiki page:\n\n1. Get node: `{ \"action\": \"get\", \"token\": \"wiki_token\" }` → returns `obj_token`\n2. Read doc: `feishu_doc { \"action\": \"read\", \"doc_token\": \"obj_token\" }`\n3. Write doc: `feishu_doc { \"action\": \"write\", \"doc_token\": \"obj_token\", \"content\": \"...\" }`\n\n## Configuration\n\n```yaml\nchannels:\n  feishu:\n    tools:\n      wiki: true # default: true\n      doc: true # required - wiki content uses feishu_doc\n```\n\n**Dependency:** This tool requires `feishu_doc` to be enabled. Wiki pages are documents - use `feishu_wiki` to navigate, then `feishu_doc` to read/edit content.\n\n## Permissions\n\nRequired: `wiki:wiki` or `wiki:wiki:readonly`\n"},"import":{"commit_sha":"424c6d0a5f4665b803ad6768d08b0be7659deaf4","imported_at":"2026-05-18T20:13:36Z","license_text":"MIT License\n\nCopyright (c) 2025 Peter Steinberger\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","owner":"openclaw","repo":"openclaw/openclaw","source_url":"https://github.com/openclaw/openclaw/tree/424c6d0a5f4665b803ad6768d08b0be7659deaf4/extensions/feishu/skills/feishu-wiki"}},"content_hash":[163,229,42,156,134,89,198,225,95,3,161,161,219,160,33,78,140,41,216,240,168,183,181,142,124,122,148,196,143,46,185,155],"trust_level":"unsigned","yanked":false}
