Find Agent

Resolve an agent name or description to an exact mngr agent name. Used by other skills that target agents.

imbue-ai 56f7aee 984 B Updated

File contents

The user's input is an agent name or description. Resolve it to an exact agent name.

Normalization

The user may paste a git branch name like mngr/some-agent instead of the bare agent name. In that case, strip the mngr/ prefix to get the actual agent name (e.g. mngr/better-tabcomplete -> better-tabcomplete).

Resolution

Verify the target agent exists by running:

mngr list --format '{name}'

If the extracted name doesn't match any agent exactly, check if the user's input was a description (e.g. "the agent working on X") rather than a name, and try to match against the listed agents and their git branches. If there's an unambiguous match, use it. Otherwise, use AskUserQuestion to ask the user which agent they meant, presenting the plausible candidates.

Report the resolved agent name back to the caller.

imbue-ai/mngr-claude-skills/tree/main/plugins/imbue-mngr-skills/skills/find-agent commit 56f7aeefe5

Frequently asked questions

npx skillmds@latest add imbue-ai/find-agent