agentleFS
MicrosoftKnown publishermicrosoft/intelligent-terminal/.github/skills/add-acp-agent-support/SKILL.md

add-acp-agent-support

Skill2k starsChanged 4 months agoMITView on GitHub

Add first-class support for an ACP-compatible agent CLI to Intelligent Terminal. Use when integrating a new built-in AI agent, ACP server command, authentication flow, model selection, interactive delegation, session hooks, onboarding, Settings, branding, GPO policy, documentation, tests, build, deployment, or live ACP and hook log verification.

Trending

Quiet since September.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 1 mentionJul 2026: 3 mentionsAug 2026: 2 mentionsSep 2026: 3 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/intelligent-terminal repository that our weekly crawl found: only 10 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about microsoft/intelligent-terminal

The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 10

Talked about on GitHub and Bluesky (10 times).

On GitHub · 9

4 more on GitHub

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 13 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Add a native ACP-speaking agent CLI to Intelligent Terminal.

    line 14
  2. Distinctive:

    Add an ACP adapter for a CLI that does not speak ACP itself.

    line 15
  3. Distinctive:

    Add or repair ACP authentication, model probing, delegate, icon, or policy support for an existing agent.

    line 17
  4. Distinctive:

    Add or repair session-tracking hooks, hook onboarding, Settings status, or hook runtime behavior for a built-in agent.

    line 19
  5. Very specific:

    Read the repository and area-specific instructions before editing, including tools/wta/AGENTS.md and the Rust instruction files for WTA …

    line 25
  6. Distinctive:

    Prove ACP behavior before editing: Run the exact ACP command and verify stdio initialization, session creation, model discovery, prompt …

    line 41
  7. Distinctive:

    Inventory current integration surfaces: Search for every existing built-in agent ID and follow the current patterns.

    line 44
  8. Distinctive:

    Implement the WTA profile and command behavior: Add the profile, ACP launch command, auth flow, model behavior, install guidance, and …

    line 47
  9. Distinctive:

    Wire Terminal surfaces: Keep C++ built-in registries, ACP command resolution, settings/model probing, telemetry sanitization, branding, and …

    line 52
  10. Distinctive:

    Decide and implement session hooks: Treat hooks as a separate capability: verify the CLI's official hook/plugin API, map lifecycle events …

    line 56
  11. Very specific:

    Update user and administrator documentation: Document support, installation/auth requirements, limitations, delegate behavior, and the …

    line 67
  12. Distinctive:

    Validate end to end: Follow validation.md, including the WTA test suite, explicit-target WTA build, Terminal build, package deployment, …

    line 71
  13. Distinctive:

    Prepare the PR: Keep the diff scoped, cite the tested agent version and ACP command, describe native-vs-adapter and hook support, list …

    line 76
  14. Distinctive:

    Keep both registries synchronized: Update Rust execution metadata and C++ discoverability/GPO arrays together, including compile-time array …

    line 103
  15. Very specific:

    Do not stop at AgentProfile for session support: Add the canonical agent to CliSource, parsing/filtering, wire conversions, labels, …

    line 105
  16. Distinctive:

    Never overwrite user-owned hook files: Use a managed-file marker or manifest, commit ownership metadata last, preserve it until uninstall …

    line 115
  17. Very specific:

    Treat agent IDs as telemetry-sensitive: Add only the canonical built-in ID to the allowlist.

    line 123

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Add ACP Agent Support

Integrate a new built-in agent across WTA, Terminal UI, settings, policy, telemetry, documentation, and validation without leaving agent-specific behavior inconsistent between layers.

When to Use This Skill

  • Add a native ACP-speaking agent CLI to Intelligent Terminal.
  • Add an ACP adapter for a CLI that does not speak ACP itself.
  • Promote a custom ACP command into a first-class built-in agent.
  • Add or repair ACP authentication, model probing, delegate, icon, or policy support for an existing agent.
  • Add or repair session-tracking hooks, hook onboarding, Settings status, or hook runtime behavior for a built-in agent.

Prerequisites

  • Work on a feature branch, never directly on main or master.
  • Read the repository and area-specific instructions before editing, including tools/wta/AGENTS.md and the Rust instruction files for WTA changes.
  • Obtain the agent's official CLI documentation and install a pinned or known version for live verification.
  • Confirm that the CLI either exposes a long-running ACP server over stdio or has a maintained ACP adapter. A normal interactive TUI is not an ACP server.

Workflow

Track the work with a TODO list because the Rust and C++ registries, UI, policy, tests, and live verification must stay synchronized.

  1. Define the agent contract. Complete the capability matrix in integration-map.md: executable, ACP command, native-vs-adapter ownership, auth, model selection, interactive delegate syntax, session resume, installation, and official branding.
  2. Prove ACP behavior before editing. Run the exact ACP command and verify stdio initialization, session creation, model discovery, prompt streaming, cancellation, and shutdown. Record the tested CLI/adapter version.
  3. Inventory current integration surfaces. Search for every existing built-in agent ID and follow the current patterns. Do not rely on old line numbers or assume the Rust registry is the only source of truth.
  4. Implement the WTA profile and command behavior. Add the profile, ACP launch command, auth flow, model behavior, install guidance, and resume metadata. Wire the canonical ID through the session subsystem when session listing or resume is supported. Add delegate support only when the agent has a true interactive initial-prompt invocation.
  5. Wire Terminal surfaces. Keep C++ built-in registries, ACP command resolution, settings/model probing, telemetry sanitization, branding, and policy-facing lists consistent. Use the detailed file map in integration-map.md.
  6. Decide and implement session hooks. Treat hooks as a separate capability: verify the CLI's official hook/plugin API, map lifecycle events to WTA, suppress hook emission from the ACP process to avoid duplicate sessions, and wire safe install/status/uninstall/upgrade behavior through onboarding and Settings. If the CLI has no suitable hook API, document session tracking as unsupported instead of inferring it from ACP support.
  7. Add focused tests. Cover profile lookup, ACP command construction, identification, session source round-trips and resume dispatch, auth command generation, hook lifecycle and ownership behavior when implemented, and every delegate shell path that applies: direct Windows, PowerShell 7, Windows PowerShell 5.1, and WSL.
  8. Update user and administrator documentation. Document support, installation/auth requirements, limitations, delegate behavior, and the AllowedAgents identifier. Do not advertise hooks or history integration unless they were implemented and tested.
  9. Validate end to end. Follow validation.md, including the WTA test suite, explicit-target WTA build, Terminal build, package deployment, live ACP prompt, auth path, model selection, hook-backed session tracking when supported, delegate behavior, GPO filtering, and log inspection.
  10. Prepare the PR. Keep the diff scoped, cite the tested agent version and ACP command, describe native-vs-adapter and hook support, list unsupported features, and link the tracking issue with a closing keyword when appropriate.

Decision Rules

CapabilityRequired decision
ACP launchPrefer the CLI's native stdio mode. Use a maintained adapter only when native ACP is unavailable; pin the adapter when unbounded updates could break startup.
AuthenticationUse InProtocol only when ACP advertises and completes authentication. Use External when a separate CLI/provider login is required, then verify the running ACP process can refresh credentials.
ModelsDistinguish flags accepted by the ACP server process from flags accepted by the interactive delegate CLI. Prefer ACP model APIs when the server supports them.
DelegationUse an interactive TUI invocation with an initial prompt. If the only interface is one-shot, omit first-class delegate support or explicitly ask the user to accept an auto-closing tab.
ResumeConfigure resume/new-session metadata only after proving the exact CLI syntax and identifier semantics. Also add the agent to the session source type and every conversion boundary; profile metadata alone does not make a session resumable.
Hooks/historyTreat these as separate integrations. ACP compatibility alone does not imply shell hooks or historical session support. Use only the CLI's documented hook/plugin API, define ownership-safe install semantics, and suppress duplicate tracking from ACP-mode processes.

Gotchas

  • Never substitute a TUI or one-shot command for the ACP server command. The agent pane requires a long-running JSON-RPC/ACP stdio process.
  • Never use a one-shot delegate subcommand when an interactive prompt flag exists. A successful one-shot process exits and Terminal closes its tab.
  • Preserve the CLI's argument grammar. Top-level flags, subcommands, model flags, and prompt arguments may require a specific order.
  • Test every quoting layer. Multiline prompts and paths with spaces pass through different escaping in direct Windows, pwsh, Windows PowerShell, and WSL launches.
  • Keep both registries synchronized. Update Rust execution metadata and C++ discoverability/GPO arrays together, including compile-time array sizes.
  • Do not stop at AgentProfile for session support. Add the canonical agent to CliSource, parsing/filtering, wire conversions, labels, resume command synthesis, and ACP/WSL session discovery where supported. Otherwise session/list rows can appear as Unknown("custom") and Enter fails with "source agent is unknown to this build" even though the agent profile has a valid resume flag.
  • Do not run session hooks inside the shared ACP process. ACP sessions are already tracked by the helper/master path; hook emission there creates duplicate session rows. Gate the plugin using a reliable ACP-mode signal and verify normal interactive sessions still emit.
  • Never overwrite user-owned hook files. Use a managed-file marker or manifest, commit ownership metadata last, preserve it until uninstall cleanup succeeds, and make partial installs repairable.
  • Keep the hook lifecycle complete. Adding a runtime script is insufficient: update install, status, uninstall, startup auto-upgrade, onboarding, Settings, packaged bundle contents, tests, documentation, and diagnostics together.
  • Separate ACP and delegate model flags. Passing a TUI-only model flag to the ACP server can prevent startup even when delegation works.
  • Treat agent IDs as telemetry-sensitive. Add only the canonical built-in ID to the allowlist; continue bucketing custom commands and paths as custom.
  • Use official, license-compatible branding. Make header artwork respond to light, dark, and high-contrast themes; do not silently reuse another agent's logo.
  • Build the explicit Cargo target before packaging. CascadiaPackage prefers target/x86_64-pc-windows-msvc/.../wta.exe; a stale binary there can shadow a fresh host-target build.
  • Update policy prose as well as runtime filtering. AllowedAgents is generic, but its ADML identifier list and built-in count can drift.

References

  • Integration surface map
  • Validation and live verification

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.