agentleFS
dcc-mcpdcc-mcp/dcc-mcp-core/skills/dcc-cua/SKILL.md

dcc-cua

Skill48 starsChanged 59 days agoMITView on GitHub

Project-owned DCC-CUA routing skill for bounded application UI automation. Use this skill whenever the user says dcc-cua, DCC CUA, our dcc-cua, or 我们的 dcc-cua, including browser and other non-DCC UI tasks. These phrases are a hard route to the dcc-mcp project UI Control stack and take precedence over generic Codex/OpenAI Computer Use, the computer-use Skill, @oai/sky, and Browser/Chrome plugins. If DCC-CUA is unavailable, repair or report the project route; never silently fall back to a generic computer-use provider.

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. About 0 are common, 16 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈16

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this Skill as the canonical route whenever the user explicitly names dcc-cua, DCC CUA, our dcc-cua, or 我们的 dcc-cua.

    line 33
  2. Very specific:

    Use the project-owned dcc-cua runtime and DCC-MCP ui-control surface.

    line 41
  3. Very specific:

    Never load or call generic Codex/OpenAI Computer Use, the computer-use Skill, @oai/sky, or Browser/Chrome automation plugins for that …

    line 42
  4. Distinctive:

    Never treat a DCC-CUA runtime, binding, readiness, or permission failure as permission to change providers.

    line 44
  5. Distinctive:

    Use a generic provider only after the user explicitly retracts the DCC-CUA requirement or explicitly requests that provider by name.

    line 48
  6. Distinctive:

    Use the official component contract.

    line 81
  7. Very specific:

    Run components ensure only when installation or repair is authorized.

    line 90
  8. Distinctive:

    Do not invent a profile ID.

    line 101
  9. Distinctive:

    Prefer a typed DCC-MCP host tool when it directly expresses the operation.

    line 105
  10. Distinctive:

    Use DCC-CUA only for the UI behavior that typed host tools cannot expose.

    line 106
  11. Distinctive:

    Wait for a typed state transition and verify the real final state.

    line 112
  12. Distinctive:

    Stop the session on success, failure, interruption, or abandonment.

    line 113
  13. Distinctive:

    Use the same exact instance and session throughout the action chain.

    line 135
  14. Distinctive:

    Keep connection-scoped sessions and capabilities on one Host connection.

    line 146
  15. Distinctive:

    Use DOM/semantic references from the latest observation rather than stale coordinates.

    line 147
  16. Distinctive:

    Treat a changed PID, window handle, tab target, or session owner as a fresh binding that requires a fresh observation.

    line 157
  17. Very specific:

    Keep full readiness strict.

    line 159
  18. Distinctive:

    Do not expose local usernames, internal package paths, browser profile data, credentials, tokens, or unrelated window titles in public …

    line 163
  19. Distinctive:

    Verify success by reading the destination state after the mutation.

    line 165
  20. Distinctive:

    When DCC-CUA cannot complete the request, report:

    line 169
  21. Distinctive:

    Do not mention a generic Computer Use fallback unless the user asks for one.

    line 177

≈ “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

DCC-CUA — Project UI Control Router

Use this Skill as the canonical route whenever the user explicitly names dcc-cua, DCC CUA, our dcc-cua, or 我们的 dcc-cua.

Non-substitution contract

An explicit DCC-CUA request is a hard routing boundary, regardless of whether the target is Maya, Chrome, a browser, or another desktop application.

  • Use the project-owned dcc-cua runtime and DCC-MCP ui-control surface.
  • Never load or call generic Codex/OpenAI Computer Use, the computer-use Skill, @oai/sky, or Browser/Chrome automation plugins for that request.
  • Never treat a DCC-CUA runtime, binding, readiness, or permission failure as permission to change providers.
  • Repair the project route when safely possible. Otherwise report the exact blocker and stop.
  • Use a generic provider only after the user explicitly retracts the DCC-CUA requirement or explicitly requests that provider by name.

This boundary is provider selection, not an authorization bypass. DCC-CUA task grants, target binding, interruption, and confirmation policy still apply.

Automatic route from search

The contract above also covers requests that never name dcc-cua. When a skill or tool search returns no usable interface, the search surface attaches fallback advice naming this Skill, with a reason code:

reasonmeaning
no_candidatenothing in the catalog matched the request
low_confidencethe closest matches are lexical near-misses, not a real interface
no_executable_interfacethe closest match is documentation-only and declares no callable tool

The advice is additive: the hits are still returned, and the routing criteria never reorder or drop them.

The advice is blocked, with reason code cua_runtime_unavailable, when this runtime is not usable. A blocked response is a blocker to report or repair — it is not permission to switch provider. The non-substitution contract above applies unchanged to the automatic route.

Ranking is deliberately not involved. This Skill declares layer: infrastructure, which the search rank policy demotes to 0.35 so it stays out of neutral discovery. That must not be "fixed" by raising the coefficient: the route is explicit, not a ranking effect.

Runtime preflight

Use the official component contract; do not download an arbitrary executable:

dcc-mcp-cli components status dcc-cua
dcc-mcp-cli components ensure dcc-cua --yes
dcc-cua manifest
dcc-cua ping

Run components ensure only when installation or repair is authorized. It consumes the official versionless manifest, verifies the declared SHA-256, and reconciles the independently released companion executable.

For semantic application profiles:

dcc-cua profiles
dcc-cua profile --id <profile-id>

Do not invent a profile ID. Runtime-advertised capabilities are authoritative.

Execution order

  1. Prefer a typed DCC-MCP host tool when it directly expresses the operation.
  2. Use DCC-CUA only for the UI behavior that typed host tools cannot expose.
  3. Bind one exact target with process ID and native window handle whenever the surface supports them.
  4. Open one scoped session with the minimum task grant required for the work.
  5. Take a fresh observation before each action that depends on UI state.
  6. Act using stable semantic control or DOM references when available.
  7. Wait for a typed state transition and verify the real final state.
  8. Stop the session on success, failure, interruption, or abandonment.

An input sent acknowledgement is not completion evidence. For native application menu bars, prefer the negotiated native_menu_path route through ui_control__act(action="invoke_menu", menu_path=[...]) when a semantic menu click or Alt mnemonic cannot prove that a popup opened. A menu invocation invalidates the current observation; honor verification_required and verify the popup or resulting application state with a fresh snapshot.

DCC-host route

For a registered DCC instance, use the DCC-MCP UI Control tools or their CLI projection:

dcc-mcp-cli load-skill ui-control --instance-id <instance-id> --output toon
dcc-mcp-cli ui-control snapshot --instance-id <instance-id> --json '{"session_id":"ui","process_id":1234,"window_handle":5678}'
dcc-mcp-cli ui-control act --instance-id <instance-id> --json '{"session_id":"ui","control_id":"ok","action":"click","snapshot_id":"<snapshot-id>"}'
dcc-mcp-cli ui-control act --instance-id <instance-id> --json '{"session_id":"ui","action":"invoke_menu","menu_path":["Window","Arrange","Left"]}'
dcc-mcp-cli ui-control stop --instance-id <instance-id> --json '{"session_id":"ui"}'

Use the same exact instance and session throughout the action chain. Do not switch to another DCC process because it looks similar.

Browser and non-DCC route

Browser work remains inside DCC-CUA. Use the Host's typed browser surface and browser_dom capabilities, not an in-app Browser or Chrome plugin.

  • Bind the exact browser PID and window handle first.
  • Bind the exact tab/target returned by DCC-CUA; do not infer it from a title alone when an exact target identifier exists.
  • Keep connection-scoped sessions and capabilities on one Host connection.
  • Use DOM/semantic references from the latest observation rather than stale coordinates.
  • browser_prepare and existing-profile attachment require both the Host grant and the session task grant advertised by the runtime contract.
  • Authentication challenges, CAPTCHAs, purchases, account/security changes, and unexpected permission prompts remain trusted human boundaries.

Target and evidence invariants

  • Preserve PID and native window handle in observations and audit records.
  • Treat a changed PID, window handle, tab target, or session owner as a fresh binding that requires a fresh observation.
  • Keep full readiness strict. If only an exact-window or typed-browser route is independently ready, report that route-specific degraded readiness.
  • Honor Escape/user interruption immediately and do not resume without fresh authorization and observation.
  • Do not expose local usernames, internal package paths, browser profile data, credentials, tokens, or unrelated window titles in public evidence.
  • Verify success by reading the destination state after the mutation.

Failure behavior

When DCC-CUA cannot complete the request, report:

  1. the exact component/runtime version,
  2. the exact target identity that was bound,
  3. the failing readiness, capability, permission, or action stage,
  4. the last safe observation or typed error, and
  5. the safe next repair step.

Do not mention a generic Computer Use fallback unless the user asks for one.

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.