install
source · Clone the upstream repo
git clone https://github.com/autogame-17/feishu-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/autogame-17/feishu-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/feishu-chart" ~/.claude/skills/autogame-17-feishu-skills-feishu-chart && rm -rf "$T"
manifest:
feishu-chart/SKILL.mdsource content
Feishu Chart Skill
Generate and send charts to Feishu (Lark) chats using QuickChart.io as the backend renderer. Outputs a PNG image sent via
feishu-image.
Usage
# Send a simple test chart node skills/feishu-chart/index.js --target "oc_xxx" --title "Monthly Sales" --type bar # Send custom data from JSON file node skills/feishu-chart/index.js --target "oc_xxx" --file data.json --width 800 --height 400 # Send custom data inline (escaped JSON) node skills/feishu-chart/index.js --target "ou_xxx" --data '{"type":"pie","data":{...}}'
Options
: Target Feishu ID (User-t, --target <id>
or Groupou_...
)oc_...
: Chart configuration JSON (Chart.js format)-d, --data <json>
: Path to a file containing the Chart JSON-f, --file <path>
: Title for the default chart (if no data provided)--title <text>
: Chart type for default chart (bar, line, pie, radar)--type <type>
: Image width (default: 500)--width <pixels>
: Image height (default: 300)--height <pixels>
: Generate the image locally but do not send (for debugging)--test
Dependencies
skill must be installed and configured.feishu-image
,axios
,commander
(install viafs-extra
in skill dir)npm install