aiconfig-tools

launchdarkly/agent-skills · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/launchdarkly/agent-skills --skill aiconfig-tools
0 commentsdiscussion
summary

You're using a skill that will guide you through adding capabilities to your AI agents through tools (function calling). Your job is to identify what your AI needs to do, create tool definitions, attach them to variations, and verify they work.

skill.md

AI Config Tools

You're using a skill that will guide you through adding capabilities to your AI agents through tools (function calling). Your job is to identify what your AI needs to do, create tool definitions, attach them to variations, and verify they work.

Prerequisites

  • LaunchDarkly API token with /*:ai-tool/* permission
  • Existing AI Config (use aiconfig-create skill first)
  • Tools endpoint: /ai-tools (NOT /ai-configs/tools)

Core Principles

  1. Start with Capabilities: Think about what your AI needs to do before creating tools
  2. Framework Matters: LangGraph/CrewAI often auto-generate schemas; OpenAI SDK needs manual schemas
  3. Create Before Attach: Tools must exist before you can attach them to variations
  4. Verify: The agent fetches tools and config to confirm attachment

API Key Detection

  1. Check environment variablesLAUNCHDARKLY_API_KEY, LAUNCHDARKLY_API_TOKEN, LD_API_KEY
  2. Check MCP config — Claude config if applicable
  3. Prompt user — Only if detection fails

Workflow

Step 1: Identify Needed Capabilities

What should the AI be able to do?

  • Query databases, call APIs, perform calculations, send notifications
  • Check what exists in the codebase (API clients, functions)
  • Consider framework: LangGraph/LangChain auto-generate schemas; direct SDK needs manual schemas

Step 2: Create Tools

Follow API Quick Start:

  1. Create toolPOST /projects/{projectKey}/ai-tools with key, description, schema
  2. Schema format — Use OpenAI function calling format (type, function.name, function.parameters)
  3. Clear descriptions — The LLM uses the description to decide when to call

Step 3: Attach to Variation

Tools cannot be attached during config creation. PATCH the variation:

PATCH /projects/{projectKey}/ai-configs/{configKey}/variations/{variationKey}

Body: {"model": {"parameters": {"tools": [{"key": "tool-name", "version": 1}]}}}

See API Quick Start for full curl example.

Step 4: Verify

  1. Verify tool exists:

    GET /projects/{projectKey}/ai-tools/{toolKey}
    
  2. Verify attached to variation:

    GET /projects/{projectKey}/ai-configs/{configKey}/variations/{variationKey}
    

    Check model.parameters.tools includes your tool key.

  3. Report results:

    • ✓ Tool created with valid schema
    • ✓ Tool attached to variation
    • ⚠️ Flag any issues

Orchestrator Note

LangGraph, CrewAI, AutoGen often generate schemas from function definitions. You still need to create tools in LaunchDarkly and attach keys to variations so the SDK knows what's available.

Edge Cases

Situation Action
Tool already exists (409) Use existing or create with different key
Wrong endpoint Use /ai-tools, not /ai-configs/tools
Schema invalid Use OpenAI function format

What NOT to Do

  • Don't use /ai-configs/tools — it doesn't exist
  • Don't try to attach tools during config creation
  • Don't skip clear tool descriptions (LLM needs them)

Related Skills

  • aiconfig-create — Create config before attaching tools
  • aiconfig-variations — Manage variations

References

how to use aiconfig-tools

How to use aiconfig-tools on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add aiconfig-tools
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/launchdarkly/agent-skills --skill aiconfig-tools

The skills CLI fetches aiconfig-tools from GitHub repository launchdarkly/agent-skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/aiconfig-tools

Reload or restart Cursor to activate aiconfig-tools. Access the skill through slash commands (e.g., /aiconfig-tools) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.569 reviews
  • Sakura Gonzalez· Dec 28, 2024

    aiconfig-tools is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Aanya Srinivasan· Dec 16, 2024

    aiconfig-tools has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Aanya Menon· Dec 12, 2024

    aiconfig-tools fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Anaya Sethi· Dec 12, 2024

    I recommend aiconfig-tools for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Emma Perez· Dec 12, 2024

    Keeps context tight: aiconfig-tools is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Kaira Srinivasan· Dec 8, 2024

    We added aiconfig-tools from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Yash Thakker· Nov 19, 2024

    aiconfig-tools reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Fatima Smith· Nov 19, 2024

    aiconfig-tools fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Yuki Thompson· Nov 7, 2024

    Solid pick for teams standardizing on skills: aiconfig-tools is focused, and the summary matches what you get after install.

  • Anaya Zhang· Nov 3, 2024

    aiconfig-tools is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

showing 1-10 of 69

1 / 7