← Plugins

Quick Tools

CoDevAI.cc5installs

Quick prompts, slash shortcuts, multi-provider skills browser, cross-agent collaboration, and automated workspace labeling

$ paseo plugin add codevai-cc/quick-tools
Quick Tools screenshot 1Quick Tools screenshot 2Quick Tools screenshot 3Quick Tools screenshot 4

Quick Tools provides one-click quick prompts, slash shortcuts, a multi-provider agent skills browser & invoker, cross-agent collaboration (context attachment, review, handoff, and cross-workspace dispatch), and automatic Local / WT workspace labeling for Paseo.

Core Mechanisms

1. Unified Composer Popover (Prompts | Skills), Skills Panel, and Draft Selector

  • Registers a per-agent composer pill (quick-tools) in active agent sessions using addComposerPill and client.paseo.agents.list({ subscribe: {} }).
  • Opens a streamlined popover with segmented Prompts (default) and Skills · N tabs:
    • Prompts tab: renders the two-column grid of active global, project-scoped, rule-matched, and ephemeral quick prompts.
    • Skills tab: silently prefetches agent skills when the popover opens, caches results across popover and panel by (agentId, cwd), supports search, source-precedence grouping, one-click composer insertion (/{name} ), detail inspection with arguments & Invoke (/{name} [args]), and one-click Pin to Prompts (persisting /{name} into global quick prompts).
  • Registers an agent workspace panel (quick-tools-skills) and a ⌘K Command Center entry (quick-tools-open-skills) for reading full SKILL.md instructions, copying file paths, invoking with arguments, and pinning skills.
  • Registers a draft and new-workspace composer control (quick-prompts-draft) via addComposerItem using Paseo's Combobox and useComposer() to search prompts, apply optional target models via composer.setModel, and populate the draft prompt text.

2. Multi-Provider Skills Discovery and Safe Reading

  • Discovers SKILL.md files on the daemon host using zero-dependency frontmatter parsing and first-wins name deduplication across claude, codex, hermes, antigravity, opencode, pi, and omp search paths (walking from cwd up to the Git repository/worktree root, personal directories, and Claude plugin manifests).
  • Structurally probes agent.handle.commands() on all providers to surface session-reported built-in skills and commands not already discovered on disk (controlled by showBuiltInCommands).
  • Reads SKILL.md contents via quick_tools.skills.read.request by resolving skillId against re-discovered entries rather than accepting arbitrary filesystem paths.

3. Global, Project, and Context-Aware Prompt Resolution

  • Persists global prompts (quick-prompts.json) and per-project overrides (project-quick-prompts.json) under <PASEO_HOME>/plugin-data/quick-tools/ using atomic 0600 file writes and automatic one-time migration from legacy quick-prompts paths.
  • Evaluates prompts in priority order: ephemeral options extracted from the latest idle assistant message (strict binary [y/n] confirmations and anchored numbered/lettered choice lists, rejecting code blocks and summary headings), followed by project-scoped prompts and enabled global prompts.
  • Supports fixed, rule (keywords, regex, agent status, and agent profile matching), and ephemeral prompt triggers, as well as optional targetModelId switching before submission (composer.setModel via useComposers on standard Paseo, with fallback to agent handle setModel on custom Paseo builds).
  • Registers enabled prompts that define a shortcut as agent slash commands via addSlashCommand.

4. Automated Workspace Labeling

  • Registers workspace.create.after and the quick_tools.workspace_labels.sync.request RPC to assign Local to directory/local-checkout workspaces and WT to Git worktree workspaces while removing the opposite label if a workspace kind changes.
  • Reads autoLabelWorkspaces, localLabelColor, and worktreeLabelColor from host-scoped plugin settings (defineSettings, id: "quick-tools").
  • On custom Paseo builds whose PaseoWorkspaceHandle.setLabel supports { assigned, color }, passes the configured label color to the host label catalog; on standard Paseo hosts, assigns and unassigns labels using the host's default catalog color.

5. Cross-Agent Collaboration (Agents Panel, Agent Attachment Source, Slash Commands)

  • Registers an Agent composer attachment source (quick-tools-agents) when enableAgents is active, ranking same-workspace agents first and returning compact snapshots (★ <workspace> + [status] <title>) with a 10s TTL snapshot cache.
  • Registers an Agents panel (quick-tools-agents), ⌘K Command Center actions, and non-colliding slash commands (/agents, /review-agent, /handoff, /dispatch) supporting:
    • Review: Inspect another agent via Brief 2K / Compact 8K / Detailed 20K snapshots or Ref Only metadata references, insert into the composer, or send directly.
    • Handoff: Send direct follow-ups (with queue / steer / interrupt active-turn delivery and optional host-capability fallback on >=0.17.3 hosts) or run smart handoffs via /paseo-handoff (or an 8-section structured template fallback), with optional source context and single-turn report-back instructions.
    • Dispatch: Create agents in existing workspaces or branch off new Git worktree workspaces from existing projects using host Agent Profiles and optional provider/model/mode overrides, resolving default selectable models before workspace creation and recovering cleanly if agent startup fails after worktree creation.

Known Limitations

  • Optional targetModelId execution requires either an active composer returned by useComposers (standard Paseo) or a host exposing setModel on the agent handle; if neither is available, execution stops with an error toast rather than sending under the wrong model.
  • Customizing host workspace label catalog colors via setLabel(..., { color }) takes effect only on Paseo hosts that support the color option; standard Paseo hosts assign labels with default catalog colors.
  • Providers without documented filesystem skill directories (glm-acp-agent, copilot, etc.) surface only the skills and commands reported by the live session via agent.commands().
  • Older Paseo hosts (>=0.17.3 lacking agentMessageProvenance or nonAgentMessageQueue) omit provenance/queue metadata flags when sending cross-agent messages while keeping source context and report-back instructions in the message body.

Related plugins

Browse all plugins →