AGENT SKILL

drive-nomifun

Connect an authorized external client to NomiFun's canonical Remote ingress. Use an installation access token and a local-owner-created RemoteBinding, then operate the explicit open/turn/observe/cancel AgentSession lifecycle.

License 许可
Apache-2.0
最近更新
2026-11-10
Stars
★ 336
Forks
69

01 前言 Front Matter

name
drive-nomifun
description
Connect an authorized external client to NomiFun's canonical Remote ingress. Use an installation access token and a local-owner-created RemoteBinding, then operate the explicit open/turn/observe/cancel AgentSession lifecycle.

03 SKILL.md 正文

Drive NomiFun through canonical Remote

NomiFun Remote is an ingress into the canonical AgentSession aggregate. It is not a generic platform capability registry and does not infer a Session from an MCP connection, token, IP address, companion, or recent activity.

Required inputs

Obtain from the NomiFun installation owner:

  • the /mcp or HTTP base URL;
  • the installation access token;
  • a remote_binding_id created from the exact desired Agent Preset revision.

Never request or expose provider credentials. Protect the installation token as a high-privilege secret.

MCP configuration

{
  "mcpServers": {
    "nomifun": {
      "type": "streamable-http",
      "url": "http://<host>:25808/mcp",
      "headers": {
        "Authorization": "Bearer <installation-access-token>"
      }
    }
  }
}

Reject configuration drift if tools/list is not exactly:

  • open
  • turn
  • observe
  • cancel

Do not use the removed /mcp-agent, /v1, profile, or domains surfaces.

Operating sequence

  1. Call open with binding_id, a stable idempotency_key, and optional initial_input.
  2. Persist the returned agent_session_id and cursor. The MCP transport session ID is not the product identity.
  3. If open_state is opening, call observe with the same agent_session_id and returned cursor until Session events prove ready or open_failed.
  4. Call turn only on the explicit ready Session. Reuse its idempotency key after an ambiguous network failure.
  5. Use observe with the returned next_cursor; cursors are exclusive.
  6. Call cancel only when the Session has an active turn.

Binding updates affect only later opens. Binding deletion does not rewrite or cancel an existing Session.

Failure handling

  • REMOTE_AUTH_REQUIRED: stop and ask the owner to provide/rotate the token.
  • REMOTE_INVALID_REQUEST: fix the exact schema; never add selector fields.
  • REMOTE_SESSION_OPENING: preserve the Session ID and cursor. If details say host_restart_reconcile, ask the owner to restore storage/host health.
  • REMOTE_OPEN_FAILED: inspect observed Session events; do not treat it as ready.
  • REMOTE_SESSION_BUSY: observe current state before issuing another mutation.
  • SNAPSHOT_EXECUTOR_UNAVAILABLE: report the frozen Snapshot/Runtime availability blocker to the owner.

There is no confirmation retry protocol. Remote is FullAuto within the frozen Snapshot authority.

04 同仓库更多 Skills

nomifun
nomifun/nomifun-desktop

example-skill

Fixture skill used by startup_materialize integration tests.

★ 336
nomifun
nomifun/nomifun-desktop

ui-ux-pro-max

Professional UI/UX design research skill with a bundled searchable database for product patterns, visual styles, color palettes, typography, landing-page structure, dashboard charts, UX practices, and stack guidance. Use when designing, building, reviewing, or improving interfaces.

★ 336
nomifun
nomifun/nomifun-desktop

planning-with-files

Maintain durable task plans, findings, and progress logs in workspace files for long-running or research-heavy work. Use when a task spans many steps or sessions, needs an auditable evidence trail, or risks losing important decisions to context limits. Do not use for short tasks that fit comfortably in the active conversation.

★ 336
nomifun
nomifun/nomifun-desktop

officecli

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

★ 336
nomifun
nomifun/nomifun-desktop

officecli-xlsx

Use this skill any time a .xlsx file is involved -- as input, output, or both. This includes: creating spreadsheets, financial models, dashboards, or trackers; reading, parsing, or extracting data from any .xlsx file; editing, modifying, or updating existing workbooks; working with formulas, charts, pivot tables, or templates; importing CSV/TSV data into Excel format. Trigger whenever the user mentions 'spreadsheet', 'workbook', 'Excel', 'financial model', 'tracker', 'dashboard', or references a .xlsx/.csv filename.

★ 336
nomifun
nomifun/nomifun-desktop

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document', 'onboarding form', 'HR intake', 'survey template', 'contract / SOW template', 'mail-merge template', 'compliance checklist', 'medical intake questionnaire'. Output is a single .docx where specific fields are editable and the rest is locked. This skill is INDEPENDENT, not a scene layer on docx — payload is `<w:sdt>` + `<w:ffData>` + `<w:fldChar>` + `documentProtection`, none of which docx base skill covers. Do NOT trigger for regular reports, letters, memos, academic papers, pitch decks, or any document with no user-fillable fields — route those to officecli-docx or its scene layers.

★ 336