lark-agent-simple
БесплатноЗапускает вложенные скриптыНе проверенToken-efficient Lark task creation from markdown test files. Uses 60-70% fewer tokens than lark-agent by executing MCP calls directly. ACTIVATE THIS SKILL…
Об этом скилле
version: 1.0.0 author: Claude Code tags: [lark, testing, automation, markdown, token-efficient, mcp]
Lark Agent Simple Skill
Token-efficient Lark task creation from markdown test files with 60-70% token reduction compared to the original lark-agent.
Overview
The Lark Agent Simple skill provides an optimized workflow for:
- Parsing markdown test files into minimal JSON (data only)
- Executing Lark MCP calls directly (no workflow generation)
- Creating hierarchical Lark tasks (3-level structure)
- Reporting results with summary
This skill eliminates the token overhead of workflow generation by moving execution logic from Python to the slash command.
Architecture
Token Efficiency Design
Traditional Approach (lark-agent):
Markdown → Python → Workflow Plan JSON (2000-5000 tokens)
→ Claude interprets plan → Claude executes MCP
Total: 10,000-25,000 tokens
Optimized Approach (lark-agent-simple):
Markdown → Python → Minimal Data JSON (500-1000 tokens)
→ Claude executes MCP directly
Total: 3,000-8,000 tokens
Savings: 60-70% token reduction
Component Roles
Python Parser (
lark_agent_simple.py)- Role: Data transformation only (markdown → JSON)
- Output: Minimal structured data (no workflow instructions)
- Size: ~150 lines (vs 250+ in original)
Slash Command (
.claude/commands/lark-agent-simple.md)- Role: Execution logic
- Contains: Direct MCP call instructions
- Advantage: Claude executes immediately (no interpretation)
SKILL.md (this file)
- Role: Documentation and activation guide
- Contains: Usage instructions, examples, reference
When to Use This Skill
Activate this skill when user:
- Wants to create Lark tasks from markdown test files
- Needs token-efficient execution
- Mentions "lark agent simple" or "efficient lark"
- Has existing test documentation in markdown format
- Wants to avoid token overhead of workflow generation
Usage
Command
/lark-agent-simple <markdown-file> [--owner="Name"] [--due-date="YYYY-MM-DD"]
Parameters
<markdown-file>(required): Path to markdown test file--owner(optional): Task owner name (default: "Test User")--due-date(optional): Target date YYYY-MM-DD (default: 14 days from now)--start-date(optional): Start date YYYY-MM-DD (default: today)
Examples
# Basic usage
/lark-agent-simple tests/manual/onboarding-test.md
# With custom owner and due date
/lark-agent-simple tests/manual/login-test.md --owner="QA Team" --due-date="2025-12-31"
# With start and due dates
/lark-agent-simple tests/manual/api-test.md --owner="Dev Team" --start-date="2025-10-20" --due-date="2025-11-03"
Markdown Format
Your test file must follow this structure:
# Test Title
Test description
## Test Scenario: Scenario Name
Scenario description
### Task: Task Name
1. Step one
2. Step two
3. Step three
Expected Result: What should happen
Format Requirements
- H1 (
#): Test title (required) - H2 (
##): Test scenarios (starts with "Test Scenario:") - H3 (
###): Individual tasks (starts with "Task:") - Steps: Numbered list items
- Expected Result: Line starting with "Expected Result:"
Output
Compact JSON Data
The Python parser outputs minimal JSON:
{
"success": true,
"data": {
"test": {
"title": "Test Title",
"description": "Test description",
"owner": "QA Team",
"start_date": "2025-10-19",
"due_date": "2025-11-02"
},
"scenarios": [
{
"id": "scenario-0-1729300000000",
"title": "Scenario Title",
"description": "Scenario description",
"tasks": [
{
"id": "task-0-0-1729300000000",
"title": "Task Title",
"description": "Steps...",
"expected_result": "Expected outcome"
}
]
}
],
"metadata": {
"total_scenarios": 3,
"total_tasks": 10,
"source_file": "path/to/test.md"
}
}
}
Lark Task Structure
Creates 3-level hierarchy:
- Level 1: Parent task (test overview)
- Level 2: Scenario tasks (marked as milestones if they have subtasks)
- Level 3: Individual test tasks
Integration with Lark MCP
This skill uses the following Lark MCP tools:
task_v2_tasklist_create- Create task listtask_v2_task_create- Create parent tasktask_v2_taskSubtask_create- Create scenario and individual tasks
All calls use useUAT: true for user access token authentication.
Workflow Details
The slash command executes this workflow:
- Parse Markdown → Execute Python script → Get compact JSON
- Create Tasklist → Call MCP → Save
tasklistGuid - Create Parent Task → Call MCP → Save
parentTaskGuid - Create Scenarios → Loop + Call MCP → Save
scenarioGuids[id] - Create Tasks → Loop + Call MCP → Save
taskGuids[id] - **Report S
Установить lark-agent-simple в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл lark-agent-simple?
Token-efficient Lark task creation from markdown test files. Uses 60-70% fewer tokens than lark-agent by executing MCP calls directly. ACTIVATE THIS SKILL when user: - Says "create lark tasks" or "lark agent simple" or "efficient lark" - Wants token-efficient Lark task creation - Has a test file and wants it in Lark with minimal overhead WORKFLOW: 1. Parse markdown file to compact JSON (data only, no workflow) 2. Execute Lark MCP calls directly from slash command 3. Report results DO NOT create test plans yourself - only process existing markdown files.
Как установить скилл lark-agent-simple?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lark-agent-simple запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic