← Back to Skills Marketplace
jiahui220

Feishu Weekly Report Generator

by jiahui220 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
282
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-weekly-generator
Description
Generate professional weekly work reports for Feishu/Lark users. Automatically collect work data from various sources and create formatted weekly reports com...
README (SKILL.md)

Feishu Weekly Report Generator

Generate professional weekly work reports for Feishu users.

Features

  • Automatic Data Collection: Gather work data from git commits, calendar events, task completions
  • AI-Powered Summary: Generate professional weekly summaries using AI
  • Feishu Compatible: Output in Feishu document format (markdown)
  • Customizable Templates: Multiple report styles available

Quick Start

Generate Weekly Report

node scripts/generate-weekly.mjs

With Options

# Specify date range
node scripts/generate-weekly.mjs --start 2026-03-10 --end 2026-03-14

# Specify output file
node scripts/generate-weekly.mjs --output my-weekly-report.md

# Include git commits
node scripts/generate-weekly.mjs --git ~/my-project

# Full options
node scripts/generate-weekly.mjs --start 2026-03-10 --end 2026-03-14 --git ~/projects --output weekly.md

Report Structure

The generated report includes:

  1. 本周工作总结 - Summary of week's work
  2. 已完成工作 - Completed tasks with details
  3. 进行中工作 - Work in progress
  4. 下周计划 - Next week's plan
  5. 遇到的问题 - Issues and blockers
  6. 需要的支持 - Support needed

Templates

Available templates in references/templates/:

  • standard.md - Standard weekly report format
  • detailed.md - Detailed format with more sections
  • minimal.md - Minimal format for quick reports

Feishu Integration

After generating the report:

  1. Copy the markdown content
  2. Paste into Feishu document
  3. Format will be preserved

Or use Feishu API to directly create document (requires Feishu bot token).

Options

Option Description Default
--start Start date (YYYY-MM-DD) Last Monday
--end End date (YYYY-MM-DD) Last Friday
--git Git repository path None
--template Template to use standard
--output Output file path weekly-report-YYYY-MM-DD.md
--name User name Git user.name or 'User'
--department Department name Optional

Examples

Basic Usage

node scripts/generate-weekly.mjs

With Git Integration

node scripts/generate-weekly.mjs --git ~/projects/my-app --name "张三" --department "技术部"

Custom Date Range

node scripts/generate-weekly.mjs --start 2026-03-01 --end 2026-03-07 --output march-week1.md
Usage Guidance
Before installing or running this skill: 1) Understand the capability mismatch — the code only collects local git commits and writes a markdown report; calendar/task collection and Feishu API upload are not implemented. 2) Inspect the script if you plan to run it: it constructs and executes a git shell command with the provided --git path (execSync with interpolated input), so do not pass untrusted or attacker-controlled paths to avoid shell-injection or unexpected git execution. 3) If you expect Feishu integration, know you'll need to implement or provide safe code that uses an API token (and that token should be declared and protected). 4) Run the script from a restricted account and review the generated output before posting to any external service. If you need the claimed calendar/task integrations or direct Feishu upload, request an updated version that implements those features transparently and documents required env vars.
Capability Analysis
Type: OpenClaw Skill Name: feishu-weekly-generator Version: 1.0.0 The skill bundle contains a command injection vulnerability in `scripts/generate-weekly.mjs`. The script uses `execSync` to execute git commands using unsanitized input from the `--git` command-line argument, which could allow arbitrary command execution if a malicious path is provided. While the tool's logic aligns with its stated purpose of generating weekly reports and no evidence of intentional malice or data exfiltration was found, the high-risk use of shell execution without input validation warrants a suspicious classification.
Capability Assessment
Purpose & Capability
The skill description claims automatic collection from 'git commits, calendar events, task completions' and Feishu API integration; the actual code only supports collecting local git commits and rendering templates to a local markdown file. No calendar/task integrations or Feishu API calls are implemented, so requested capabilities are overstated.
Instruction Scope
SKILL.md tells the agent to run node scripts/generate-weekly.mjs and mentions using Feishu API if you have a bot token, but the runtime instructions do not match the code (the code never calls Feishu APIs). The script reads local templates and may run git commands against any repository path you pass; it does not access external endpoints or other system credentials, but the mismatch grants the agent misleading scope.
Install Mechanism
No install spec or external downloads; package.json only defines a Node >=18 runtime. Nothing is fetched from untrusted URLs and no archives are extracted.
Credentials
The skill declares no required env vars or credentials, which matches the code (it doesn't implement Feishu API calls). However SKILL.md mentions Feishu bot tokens for direct API upload but does not declare or use any environment variable for that token — an inconsistency users should be aware of.
Persistence & Privilege
The skill is not always-enabled, does not request special agent/system persistence, and does not modify other skills or system-wide settings. It writes only the generated report file to the filesystem.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-weekly-generator
  3. After installation, invoke the skill by name or use /feishu-weekly-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Generate professional weekly reports for Feishu users with git integration
Metadata
Slug feishu-weekly-generator
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Feishu Weekly Report Generator?

Generate professional weekly work reports for Feishu/Lark users. Automatically collect work data from various sources and create formatted weekly reports com... It is an AI Agent Skill for Claude Code / OpenClaw, with 282 downloads so far.

How do I install Feishu Weekly Report Generator?

Run "/install feishu-weekly-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Feishu Weekly Report Generator free?

Yes, Feishu Weekly Report Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Feishu Weekly Report Generator support?

Feishu Weekly Report Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Feishu Weekly Report Generator?

It is built and maintained by jiahui220 (@jiahui220); the current version is v1.0.0.

💬 Comments