/lark:configure [<app_id> <app_secret>] | [setup] | [clear]from lark
Configures the claude-lark-plugin by managing ~/.claude/channels/lark/.env. Handles credential setup, interactive configuration, and status display for Lark/Feishu settings.
Ships in lark. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Manage the claude-lark-plugin configuration stored in ~/.claude/channels/lark/.env.
Arguments passed: $ARGUMENTS
~/.claude/channels/lark/.env if it exists.LARK_APP_ID: show the first 6 characters, mask the restLARK_APP_SECRET: show the first 3 and last 2 characters, mask the middle=== Credentials ===
LARK_APP_ID: cli_a1****
LARK_APP_SECRET: abc****xy
=== Memory ===
LARK_INACTIVITY_HOURS: 3
LARK_MAX_SEARCH_RESULTS: 2
LARK_MIN_SEARCH_SCORE: 0.3
=== Filtering ===
LARK_ALLOWED_USER_IDS: (not set)
LARK_ALLOWED_CHAT_IDS: (not set)
=== Messaging ===
LARK_TEXT_CHUNK_LIMIT: 4000
=== Acknowledgement ===
LARK_ACK_EMOJI: MeMeMe
LARK_BOT_MESSAGE_TRACKER_SIZE: 500
=== CronJob ===
LARK_CRON_SCAN_INTERVAL: 60
LARK_CRON_TIMEZONE: (system tz)
/lark:configure <app_id> <app_secret> to set credentials, or /lark:configure setup for full interactive setup."<app_id> <app_secret> — Quick credential setupLARK_APP_ID and the second as LARK_APP_SECRET.mkdir -p ~/.claude/channels/lark..env if present.LARK_APP_ID=<app_id>LARK_APP_SECRET=<app_secret>~/.claude/channels/lark/.env."setup — Full interactive setupWalk the user through complete configuration, one question at a time using AskUserQuestion.
Ask for LARK_APP_ID and LARK_APP_SECRET.
Ask if the user wants to restrict access:
LARK_ALLOWED_USER_IDS — comma-separated sender open_id whitelist. Empty = allow all.LARK_ALLOWED_CHAT_IDS — comma-separated chat ID whitelist. Empty = allow all.Ask if the user wants to set a specific timezone for cronjob schedules:
LARK_CRON_TIMEZONE — IANA timezone name (e.g. Asia/Shanghai, UTC). Default: system timezone. This affects how cron hours map to wall-clock time — worth setting explicitly for servers that may move between timezones.If user says "use system tz" or "skip", leave unset.
Ask if the user wants to adjust any of these advanced settings (or use defaults):
LARK_INACTIVITY_HOURS — hours of silence before memory auto-flush (default: 3)LARK_MAX_SEARCH_RESULTS — max episodes injected per message (default: 2)LARK_MIN_SEARCH_SCORE — minimum relevance score for episode search (default: 0.3)LARK_TEXT_CHUNK_LIMIT — max chars per reply chunk (default: 4000)LARK_ACK_EMOJI — emoji reaction on message receive, empty to disable (default: MeMeMe)LARK_BOT_MESSAGE_TRACKER_SIZE — max bot message IDs tracked for reaction filtering (default: 500)LARK_CRON_SCAN_INTERVAL — cronjob scan interval in seconds (default: 60)If user says "use defaults" or "skip", leave these at defaults.
mkdir -p ~/.claude/channels/lark..env if present.clear — Remove configuration~/.claude/channels/lark/.env.LARK_APP_ID, LARK_APP_SECRET, LARK_ALLOWED_USER_IDS,
LARK_ALLOWED_CHAT_IDS, LARK_TEXT_CHUNK_LIMIT, LARK_INACTIVITY_HOURS,
LARK_MAX_SEARCH_RESULTS, LARK_MIN_SEARCH_SCORE,
LARK_ACK_EMOJI, LARK_BOT_MESSAGE_TRACKER_SIZE,
LARK_CRON_SCAN_INTERVAL, LARK_CRON_TIMEZONE,
LARK_OWNER_OPEN_ID, LARK_IDENTITY_SESSION_TTL_MS,
LARK_PRIVACY_RULES_FILE, LARK_AUDIT_LOG.| Key | Category | Required | Default |
|---|---|---|---|
LARK_APP_ID | Credentials | Yes | - |
LARK_APP_SECRET | Credentials | Yes | - |
LARK_INACTIVITY_HOURS | Memory | No | 3 |
LARK_MAX_SEARCH_RESULTS | Memory | No | 2 |
LARK_MIN_SEARCH_SCORE | Memory | No | 0.3 |
LARK_ALLOWED_USER_IDS | Filtering | No | (empty) |
LARK_ALLOWED_CHAT_IDS | Filtering | No | (empty) |
LARK_TEXT_CHUNK_LIMIT | Messaging | No | 4000 |
LARK_ACK_EMOJI | Acknowledgement | No | MeMeMe |
LARK_BOT_MESSAGE_TRACKER_SIZE | Acknowledgement | No | 500 |
LARK_CRON_SCAN_INTERVAL | CronJob | No | 60 |
LARK_CRON_TIMEZONE | CronJob | No | system timezone |
LARK_OWNER_OPEN_ID | Identity | No | (empty) |
LARK_IDENTITY_SESSION_TTL_MS | Identity | No | auto |
LARK_PRIVACY_RULES_FILE | Privacy | No | ~/.claude/channels/lark/privacy-rules.md |
LARK_AUDIT_LOG | Privacy | No | ~/.claude/channels/lark/audit.log |
.env values..env file is read by src/config.ts on MCP server startup.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub is908/claude-lark-plugin --plugin lark2 skills in this plugin