Loading...
Loading...
Feishu Document Assistant. Read and write Feishu cloud documents and knowledge bases, supporting creation, export, precise editing, synchronization to knowledge bases, and group message notifications. Use this Skill when users mention Feishu documents, knowledge bases, wiki, or send feishu.cn links.
npx skill4agent add 0xranx/agent-kit feishu-docfeishu_doc.pypip install feishu-docx markdown2feishu httpxFEISHU_APP_IDFEISHU_APP_SECRETskills/feishu-doc/config.yamldocx:documentwiki:wikiim:messagepython skills/feishu-doc/feishu_doc.py testpython skills/feishu-doc/feishu_doc.py read <URL> # Read document and output Markdown
python skills/feishu-doc/feishu_doc.py read <URL> --with-block-ids # Include block_id (required before editing)/docx//wiki//sheets//base/python skills/feishu-doc/feishu_doc.py wiki-tree <space_id or wiki_URL> # Tree structure
python skills/feishu-doc/feishu_doc.py export-wiki <space_id or wiki_URL> -o ./output # Batch exportpython skills/feishu-doc/feishu_doc.py create "Title" -c "Markdown content" # Create from content
python skills/feishu-doc/feishu_doc.py create "Title" -f ./report.md # Create from file
python skills/feishu-doc/feishu_doc.py create "Title" -f ./report.md --wiki <parent_node_token> # Create in knowledge basepython skills/feishu-doc/feishu_doc.py list-blocks <URL>python skills/feishu-doc/feishu_doc.py update-block <URL> <block_id> "New content" # Modify a block
python skills/feishu-doc/feishu_doc.py delete-block <URL> <block_id> # Delete a block
python skills/feishu-doc/feishu_doc.py append <URL> -c "Content to append" # Append at the end
python skills/feishu-doc/feishu_doc.py overwrite <URL> -f ./new.md # Clear and rewritepython skills/feishu-doc/feishu_doc.py wiki-tree <URL> # View knowledge base structure
python skills/feishu-doc/feishu_doc.py wiki-move <Document URL> <Target node token> # Move cloud document to knowledge base (requires OAuth)
python skills/feishu-doc/feishu_doc.py wiki-sync <md file> --parent <Node> # Sync to knowledge base (idempotent)python skills/feishu-doc/feishu_doc.py notify "Title" "Markdown content" # Send card message
python skills/feishu-doc/feishu_doc.py send "Plain text message" # Send text
python skills/feishu-doc/feishu_doc.py read-chat [N] # Read latest N group messageswiki-treereadcreate --wiki <parent_node>createwiki-movenotifylist-blocks <URL>update-block <URL> <block_id> "New content"import-wechat <WeChat URL>wiki-movepython skills/feishu-doc/feishu_doc.py loginwiki-sync**bold**[link](url)\n