SuperAPI AI Directory

processon-setup

Agents & models

View repository

Updated 10-15 21:48

About this skill

ProcessOn Local Credential Setup

Let the user complete one-time setup on a three-step local page; the integration then connects to ProcessOn automatically. The Token must never appear in chat, command arguments, or project files.

30-second quick start

Direct requests that fit:

  • "First time using ProcessOn, help me finish setup."
  • "ProcessOn says the credential is missing, open the configuration page."
  • "My ProcessOn Token expired, help me rotate it."
  • "First time using ProcessOn, help me complete the local setup."
  • "ProcessOn indicates a missing credential, help me open the configuration page."
  • "My ProcessOn Token has expired, help me replace it securely."

Execute in this order:

  1. From the integration root run python3 scripts/processon_setup.py check and decide only by the result.
  2. On first use, or whenever PROCESSON_SETUP_REQUIRED or PROCESSON_AUTH_REQUIRED is returned, wait for the MCP proxy to open the local page automatically. It opens at most once per 10-minute cooldown.
  3. Only if the browser does not open, run python3 scripts/processon_setup.py ui as the manual fallback.
  4. Tell the user to paste the Token only into the local page's password field and click "Save Token".
  5. After a successful save, retry the original request; restart the host application only if the current MCP process does not reload the credential.
  6. Run initialize and tools/list for a non-generation validation; do not probe the credential with a generation call.

Read setup workflow when you need to execute commands or interpret state. Read security boundary for credential invalidation, rotation, or safety questions.

Exact triggers and routing

State Detection Action Output
First use (首次使用) check returns missing Proxy auto-opens the local setup page Three-step guide, do not request the Token
Missing credential (缺少凭证) PROCESSON_SETUP_REQUIRED Use the auto-opened page; manual ui only as fallback Retry after saving
Invalid credential (凭证失效) PROCESSON_AUTH_REQUIRED Proxy auto-opens the same page for rotation Do not repeat the upstream response
Rotate Token (轮换 Token) User explicitly asks to update Reopen the setup page and overwrite the user-level credential Confirm only the save state
Already configured check returns configured Continue with non-destructive MCP validation Report availability only

For multi-task requests, restore the connection first and then resume the user's original diagram priority; do not let the authentication flow change diagram content or authorization scope.

Prohibited behaviors

  • Never display, repeat, search, screenshot, log, or infer the Token; never display credential values.
  • Do not ask the user to paste the Token in chat, and never accept another person's credential.
  • Never place the credential in the repository, plugin cache, host application configuration, command arguments, prompts, or logs.
  • Never delete a user credential automatically; deletion is a user-data change and requires an explicit request.
  • Never auto-replay a generation request after an authentication failure; when the result is uncertain, coordinate first.
  • Never claim the ability to create Tokens, access account admin pages, change sharing permissions, or recover an expired credential.

See anti-patterns for common mistakes and the correct replacement.

Capability boundary

✅ Handles well

  • Local three-step credential setup right after installation.
  • Safe recovery after a missing or invalid credential.
  • Local rotation and read-only availability check for the current user's Token.

⚠️ Requires user action or input

  • Creating a Token: the user must do this in their own ProcessOn account center.
  • Entering the Token: the user must paste it into the local password field themselves.
  • Restarting the host application: the user must restart it so the new MCP session loads the credential.

❌ Out of scope

  • Retrieving, guessing, or resetting a ProcessOn account password; that goes through ProcessOn's official account flow.
  • Configuring another person's or team member's private Token; each user should set their own credential.
  • Changing cloud file permissions or account plans; that goes through ProcessOn's official product interface or support.

Audience and customization

  • Normal users use the local page and need no understanding of MCP or environment variables.
  • Developers and CI may provide a raw PROCESSON_MCP_TOKEN inside a controlled child process; that is an advanced override.
  • Teams should let each member save their own Token independently and never share credential files.
  • The user may choose Chinese or English explanations, a hidden terminal prompt, or the browser page; safe storage and no-disclosure rules are non-negotiable.

Frequently asked questions

  1. Why can't I just send the Token in chat? Conversations can be logged; the local password field is the designated input surface.
  2. Where is it saved? In the current user's config directory, not the plugin install directory; see the security reference for the exact path.
  3. Will it survive a plugin upgrade? Yes. The credential is stored separately from the versioned plugin cache.
  4. Can I paste a value that already has Bearer? Yes; the setup normalizes it and stores only the raw Token.
  5. Must I restart the host application after saving? Retry first: the proxy reloads credentials on authentication failure. Restart it only if the current MCP process remains unavailable.
  6. Will an authentication failure auto-retry generation? No. Only one authentication refresh is allowed, and uncertain results are not replayed.

See deep FAQ for edge cases, compatibility, commercial, and compliance questions. See usage examples for full interaction samples.

Output accuracy

Report only configured, missing, the need to reconfigure, or a non-destructive validation result. Any operational state that cannot be confirmed must be labeled unverified. Never fabricate credential paths, Token status, tool inventories, or ProcessOn account capabilities.

When to use(什么时候使用)

Load this skill when the user needs to configure or diagnose local authentication and runtime prerequisites . First extract the goal, inputs, constraints, delivery format, and acceptance criteria from the request; the description summary is: Configure or rotate the local ProcessOn Token for a ProcessOn MCP integration. Use for first use, missing credential, invalid credential, or when the user asks about ProcessOn Token setup; do not use for creating a Token, managing an account, or handling another user's credential..

Rules

  • Read before write: first confirm the current state and actual capabilities, then perform actions that change external state.
  • Least privilege: use only the files, tools, accounts, and network scope required to complete the current step.
  • Evidence first: when run results, resource IDs, versions, hashes, or test outputs are missing, clearly mark them as NOT_VERIFIED。
  • Idempotency first: retain request identifiers and phase status; when results are unclear, query first rather than blindly retrying.
  • Privacy and security: logs, examples, receipts, and error messages must not contain tokens, cookies, keys, or personally sensitive data.

Workflow

Step 1: Clarify intent

Confirm whether this skill matches the goal; if it is only an adjacent need, hand it off to a more precise skill.

Step 2: Perform pre-checks

Check local tools, configuration locations, permissions, and current authentication status; if any key condition is unknown, stop at the read-only stage.

Step 3: Form a plan

List the tools to be called, the objects that will change, the success criteria, and the safe exit method after failure.

Step 4: Execute actions

Complete the minimal configuration through supported interactive entry points, and immediately clean up sensitive input; retain a correlatable status or receipt for each external call.

Step 5: Verify delivery

Report only availability, identity scope, and redacted errors; do not output credential contents, and state facts, inferences, and unverified items separately.

Validation checklist

  • The skill trigger conditions match the user's intent, and adjacent tasks have not been misrouted to this skill.
  • Inputs, target objects, versions, and output locations are all clear, and required values have not been replaced with guessed values.
  • All write, paid, publishing, or irreversible actions are within the scope authorized by the user.
  • Results have been verified with independent checks; "the command succeeded" or "the file exists" alone does not count as complete acceptance.
  • The output contains actual evidence, failed/skipped items, remaining risks, and executable next steps.

Gotchas

  1. Treating the plan as the result: documentation or prompts are not equal to actual execution; the actual execution level must be stated.
  2. Retrying on error: a timeout or lost response may already have produced remote state; query first before deciding whether to retry.
  3. Implicit scope expansion: batch, full-scale, publishing, overwrite, and paid actions are not natural extensions of ordinary reads and writes.
  4. Version drift: When citing external resources, record the version, tag, or commit; do not treat a mutable branch as release evidence.
  5. Stale evidence: Caches, old screenshots, and historical tests cannot prove the current environment; refresh key evidence before delivery.

Non-applicability and boundaries

Do not echo, log, or commit secrets; do not create accounts, purchase credits, or accept terms on behalf of the user. If a request requires another skill, do not copy its content; hand off by skill name and preserve the current task context.

Progressive disclosure

  • When inputs/outputs, states, and authorization points need to be determined, read references/workflow-contract.md。
  • When pre-delivery self-checks are needed, read references/validation-checklist.md。
  • When encountering timeouts, partial success, or recovery scenarios, read references/error-recovery.md。
  • For first-run, privilege-escalation refusal, and failure recovery, refer respectively to examples/happy-path.md、examples/boundary-refusal.md、examples/failure-recovery.md。