fix(skills): replace non-existent scope im:chat:readonly with im:chat:read#51
Merged
riba2534 merged 1 commit intoriba2534:mainfrom Mar 25, 2026
Merged
Conversation
…hat:read` The scope `im:chat:readonly` does not exist in the Feishu developer console, causing error 20027 during OAuth Device Flow authorization. The correct scope name is `im:chat:read`, which is available and provides the same group chat read access. Affected files: - skills/feishu-cli-auth/SKILL.md (scope lists and reference table) - skills/feishu-cli-chat/SKILL.md (scope requirement notes and table) - skills/feishu-cli-search/SKILL.md (scope list in login command)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
im:chat:readonlyreferenced in skill files does not exist in the Feishu developer console, causing error 20027 ("当前应用权限不足") during Device Flow authorizationim:chat:read, which is available and provides the equivalent group chat read accessfeishu-cli-auth,feishu-cli-chat,feishu-cli-searchim:chat:read im:chat:readonlybecameim:chat:read(removing the redundant duplicate)Reproduction
feishu-cli auth login --method device --scopes "... im:chat:readonly ..."错误码: 20027— 获取群组信息:im:chat:readonlynot foundFix
Replace all
im:chat:readonlywithim:chat:readin skill markdown files.Test plan
feishu-cli auth login --method devicewith corrected scopes — no 20027 errorfeishu-cli auth status -o json— scope list includesim:chat:readim:chat:readonlydoes not exist in Feishu developer console (user_access_token search returns 0 results)im:chat:readonlyreferences in skill files after fix🤖 Generated with Claude Code