launch_darkly-automation
它能做什么
这个工具让你可以用文本命令控制 LaunchDarkly,一个用于管理软件功能的服务。你可以自动完成创建或修改“功能开关”(即可以打开或关闭的功能)、管理环境,以及设置新功能向用户推出方式等任务。
适用场景
- ✓当你需要在不修改代码的情况下创建或更新“功能开关”时。
- ✓当你想设置新功能向某个用户群体的发布方式时。
- ✓当你需要管理软件的不同测试或生产环境时。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/launch_darkly-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个名为 “new-dashboard” 的新“功能开关”,并为 50% 的用户开启。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具通过 Rube MCP 连接到 LaunchDarkly。它会先检查有哪些命令可用以及如何使用,然后执行你要求的操作,比如创建开关或修改其设置。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
LaunchDarkly Automation via Rube MCP
Automate LaunchDarkly operations through Composio's LaunchDarkly toolkit via Rube MCP.
Toolkit docs: composio.dev/toolkits/launch_darkly
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active LaunchDarkly connection via
RUBE_MANAGE_CONNECTIONSwith toolkitlaunch_darkly - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitlaunch_darkly - If connection is not ACTIVE, follow the returned auth link to complete setup
- Confirm connection status shows ACTIVE before running any workflows
Tool Discovery
Always discover available tools before executing workflows:
RUBE_SEARCH_TOOLS: queries=[{"use_case": "feature flags, environments, segments, and rollout management", "known_fields": ""}]
This returns:
- Available tool slugs for LaunchDarkly
- Recommended execution plan steps
- Known pitfalls and edge cases
- Input schemas for each tool
Core Workflows
1. Discover Available LaunchDarkly Tools
RUBE_SEARCH_TOOLS:
queries:
- use_case: "list all available LaunchDarkly tools and capabilities"
Review the returned tools, their descriptions, and input schemas before proceeding.
2. Execute LaunchDarkly Operations
After discovering tools, execute them via:
RUBE_MULTI_EXECUTE_TOOL:
tools:
- tool_slug: "<discovered_tool_slug>"
arguments: {<schema-compliant arguments>}
memory: {}
sync_response_to_workbench: false
3. Multi-Step Workflows
For complex workflows involving multiple LaunchDarkly operations:
- Search for all relevant tools:
RUBE_SEARCH_TOOLSwith specific use case - Execute prerequisite steps first (e.g., fetch before update)
- Pass data between steps using tool responses
- Use
RUBE_REMOTE_WORKBENCHfor bulk operations or data processing
Common Patterns
Search Before Action
Always search for existing resources before creating new ones to avoid duplicates.
Pagination
Many list operations support pagination. Check responses for next_cursor or page_token and continue fetching until exhausted.
Error Handling
- Check tool responses for errors before proceeding
- If a tool fails, verify the connection is still ACTIVE
- Re-authenticate via
RUBE_MANAGE_CONNECTIONSif connection expired
Batch Operations
For bulk operations, use RUBE_REMOTE_WORKBENCH with run_composio_tool() in a loop with ThreadPoolExecutor for parallel execution.
Known Pitfalls
- Always search tools first: Tool schemas and available operations may change. Never hardcode tool slugs without first discovering them via
RUBE_SEARCH_TOOLS. - Check connection status: Ensure the LaunchDarkly connection is ACTIVE before executing any tools. Expired OAuth tokens require re-authentication.
- Respect rate limits: If you receive rate limit errors, reduce request frequency and implement backoff.
- Validate schemas: Always pass strictly schema-compliant arguments. Use
RUBE_GET_TOOL_SCHEMASto load full input schemas whenschemaRefis returned instead ofinput_schema.
Quick Reference
| Operation | Approach |
|---|---|
| Find tools | RUBE_SEARCH_TOOLS with LaunchDarkly-specific use case |
| Connect | RUBE_MANAGE_CONNECTIONS with toolkit launch_darkly |
| Execute | RUBE_MULTI_EXECUTE_TOOL with discovered tool slugs |
| Bulk ops | RUBE_REMOTE_WORKBENCH with run_composio_tool() |
| Full schema | RUBE_GET_TOOL_SCHEMAS for tools with schemaRef |
Toolkit docs: composio.dev/toolkits/launch_darkly
常见问题
我需要特殊的密码吗?
你需要将自己的 LaunchDarkly 账户连接到 Rube MCP。通常只需打开一个链接进行授权即可,无需直接提供密码。
什么是“功能开关”?
“功能开关”就像一个开关,让你无需重新安装或修改代码,就能打开或关闭软件的某些功能。这有助于安全地测试新想法。
我可以一次做多件事吗?
可以。你可以串联多个操作,比如先创建开关,再配置其推出方式,或者对大量项目执行批量操作。
详情
作者的原始描述
Automate LaunchDarkly tasks via Rube MCP (Composio): feature flags, environments, segments, and rollout management. Always search tools first for current schemas.
热度
- GitHub 星标
- 77k
- 排名
- #2199
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。