Boost

From fritzprix/libr-agent · View interactive version

Boost is an AI agent skill from the GitHub repository fritzprix/libr-agent. Audit and optimize existing LibrAgent assistant configurations by adding role-appropriate tools and pruning unrelated, bloated, or redundant ones. Use when the user wants to boost, audit, tune, clean up, or optimize existing specialists (e.g. removing github from a finance agent, or adding search to

How to use this skill

Skill file

Boost (The Optimizer)

Audit and refine existing assistant configurations by comparing each agent's role (system prompt and description) to its attached tools.

Instead of just blindly adding missing tools, boost operates as an Optimizer that prevents Tool Bloat by recommending both additions (Add) of missing essential tools and removals (Remove) of unnecessary or conflicting tools.

Not This Skill

| Skill | Use for |

| --- | --- |

| recruit | Create a new specialist when none exists |

| mcp-installer | Register or import MCP servers that are not in inventory yet |

| skill-deployer | Install or manage bundled skills (docs, deep-research, etc.) |

| agent-init | Generate workspace agents.md |

| libragent-harness-reference | LibrAgent prompt layers / session isolation facts |

Critical API Rules

`externalMcpServers` replaces the full list

agent__updateAgent replaces the externalMcpServers array entirely — it does not merge it.

When proposing updates:

Compute the final list precisely:

next_external = (current_externalMcpServers + recommended_add_ids) - recommended_remove_ids

Never send only the added tools, or you will accidentally delete all pre-existing tools.

Server IDs, not display names

Resolve names like github or search to cuid2 server IDs via tool__listServers before making updates.


Workflow (Audit & Optimize)

1. Agent Audit

Scan the current state of assistants and tools:

  1. Retrieve Configurations:

```json

agent__listAgents({ "type": "configs", "verbose": true })

```

For each assistant, record its id, name, description, systemPrompt, externalMcpServers, and builtinCapabilities.

  1. Retrieve Tool Inventory:

```json

tool__listServers({ "availability": "inventory" })

```

Get all available tool servers in the environment.

2. Optimization Logic (Add & Remove)

For each assistant, perform a semantic check of its role against its current toolset:

Explicit Calculation Step:

Calculate the final tool list precisely using a mathematical union and difference to prevent accidental tool deletion:

final_list = (current_list + add_list) - remove_list

Double-check that all tools intended to be retained (Keep) are explicitly present in the resulting final_list payload for agent__updateAgent.

3. Draft Diagnostic Report

Before applying any changes, present a structured Audit & Optimization Report to the user:

### [Assistant Name] (`[Assistant ID]`)
* **Role Summary:** [1-sentence summary of description/systemPrompt focus]
* **Proposed Optimization:**
  * **Keep:** `[tool-label-1]`, `[tool-label-2]`
  * **Add (Recommended):** `[tool-label-3]` (Reason: [brief explanation of domain relevance])
  * **Remove (Prune):** `[tool-label-4]` (Reason: High cognitive load / Irrelevant to core role)
* **Action:** Update `externalMcpServers` to `[final merged & pruned ID list]`

Provide a high-level summary of the overall status (e.g., "3 assistants audited, 1 needs additions, 2 need pruning").

4. Apply Updates

Once the user approves the optimization proposal:

For each assistant requiring changes:

agent__updateAgent({
  "id": "<assistant-id>",
  "externalMcpServers": ["<final-resolved-id-1>", "<final-resolved-id-2>"],
  "builtinCapabilities": ["<final-resolved-builtins>"]
})

Note: You cannot update the configuration of the assistant you are currently running as. Use a root/parent session or another agent (e.g., App Wizard) to run the update.

5. Verification & Handoff

Verify that the changes were correctly applied:

  1. Check the updated configurations:

```json

agent__listAgents({ "type": "configs", "verbose": true })

```

  1. Report the successful optimization to the user, highlighting the added and pruned tools. Tell them that existing sessions will pick up these changes upon restart or next configuration resolution.

Guidelines

Builtin Tools

| Step | Tool |

| --- | --- |

| List assistants | agent__listAgents({ "type": "configs", "verbose": true }) |

| Inventory MCP | tool__listServers({ "availability": "inventory" }) |

| Apply changes | agent__updateAgent({ id, externalMcpServers, builtinCapabilities? }) |

| Create new specialist | recruit (separate workflow) |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.