تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

feishu-user

بواسطة hacksing

Git & GitHub
410التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Feishu document operations (User Access Token version)

الوصف

ما الذي تفعله هذه المهارة

Provides read, write, create, and append access to Feishu documents using OAuth user access tokens. Authenticates as the user rather than a bot, so operations reflect personal identity and permissions. Includes block-level operations and token auto-refresh utilities.

User access token auth lets the agent act on behalf of the actual user, reaching personal documents and drives that app-level bot tokens cannot access.

متى تستخدمها

  • Reading a Feishu doc and processing its content in a script
  • Creating a new document and writing structured notes into it
  • Appending meeting summaries to an existing team document
  • Querying and updating specific blocks within a document
  • Automating personal Feishu doc workflows with scheduled token refresh

مثال على سير العمل

الإدخال

User asks: append today's standup notes to my Feishu document

الوكيل
  1. 1

    Load cached user_access_token from ~/.config/claw-feishu-user/config.json

  2. 2

    Initialize FeishuClient with the token

  3. 3

    Call append_doc(doc_token, standup_content) to add the new section

  4. 4

    Confirm the block was appended by calling list_blocks and checking the last entry

الإخراج

Standup notes appended as a new section at the end of the specified Feishu document

المتطلبات

  • Feishu Open Platform app with APP_ID and APP_SECRET
  • REDIRECT_URI registered in Feishu Open Platform app settings
  • docx:document, drive:drive.search:readonly, and search:docs:read permissions enabled on the app
  • User access token obtained via OAuth authorization flow

التثبيت

clawhub install hacksing/feishu-user

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط