Zum Inhalt springen
Skillpedia
Agenten25k · #10086

nocobase-app-plugin-agent-sessions

Was er macht

Dieser Skill fügt der NocoBase-App das Agent-Sessions-Plugin hinzu. Damit kann jede Person im Browser mit Coding-Agenten chatten, etwa Codex oder Claude Code, die auf ihrem eigenen Computer laufen.

Wann du ihn nutzt

  • ✓Wenn Nutzer in der App mit einem Coding-Agenten auf dem eigenen Computer chatten sollen.
  • ✓Wenn du App-Datensätze mit Agenten-Sitzungen verknüpfen musst, damit Nutzer sie erwähnen können.
  • ✓Wenn du die Seite einrichten willst, auf der Nutzer ihren Computer mit der App verbinden.

Link zum Skill

https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-agent-sessions/skills/nocobase-app-plugin-agent-sessions/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-agent-sessions/skills/nocobase-app-plugin-agent-sessions/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du das Agent-Sessions-Plugin zu meiner NocoBase-App hinzufügen, damit Nutzer mit ihrem eigenen Codex auf ihren Computern chatten können?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Die KI registriert das Plugin, legt seine Seite fest und definiert die Verknüpfungstypen, die App-Datensätze mit Sitzungen verbinden. Jede Sitzung bleibt privat für ihren Besitzer.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Agent Sessions App Plugin

Use this Skill when an App lets people hold conversations in its pages with the coding agents on their own computers, keeping the transcripts and the work those conversations create in the App. Do not use it for agents that run the team's work on runners; that is nocobase-app-plugin-agents.

The package README is the full reference: read it at node_modules/@nocobase/app-plugin-agent-sessions/README.md (in this repository, packages/plugins/app-plugin-agent-sessions/README.md).

Key rules

  • A session is its owner's alone. Every route answers only the signed-in person about their own computers and sessions; there is no permission to grant and no administrator view.
  • The App needs the authentication plugin and its CLI built with @nocobase/app-cli-client, which has acp start. Pass the CLI's name and install command to agentSessionsRoute({ cli, install }) so the page can tell people how to connect a computer.
  • The plugin knows no business of its own. The App ties its records to sessions through agentSessionsToken: registerLinkKind(kind, { resolve, start, search, progress }) says how a record stands for a viewer, starts its work, finds the records a person mentions with #, and tells the agent how each is going (the session work CLI command); registerProjects({ list }) names the projects a session may work for; registerNotices({ send, settle }) tells the App what the owner should hear of while not looking at a session (the agent waits for permission, a turn ended or failed), for its inbox; registerInstructions(text) tells every session's agent how the App wants it to work, such as recording development as issues instead of doing it, in its first message and again when the text changes. Do all of it from a service provider's boot.
  • A link's status gives icon (backlog, started, blocked, review, done, closed) and needsYou (what it waits on the viewer for) beside label and tone, so the page draws the App's own status shapes and counts what waits. agentSessionsRoute({ cli, linkPanels: { <kind>: Component } }) opens a kind's records beside the conversation (LinkPanelProps, ?<kind>=<refId> in the address) instead of at their href.
  • The images people send are stored through the file plugin (agentSessionImages) and served to their owner by the plugin; register the file plugin, or images stay in the transcript as sent.
  • A request that needs the bridge's answer, such as listing a computer's folders, gets it through the App's cache. An App of several instances needs a shared cache, such as Redis, or those requests time out.
  • resolve answers only what the viewer may see, in viewer.locale. start acts as the viewer; refuse what they may not do there rather than here.
  • Sessions open with the agent's full access (its full-access mode, such as Codex agent-full-access or Claude Code bypassPermissions, or else every permission allowed by the bridge), in the folders the person allows for the computer: the whole home directory by default, or those they add by browsing it in "My computers". --root on acp start is only a hard limit on the computer. Do not add a read-only default.

Setup

  1. Register the server plugin, and the client plugin with { routes: false } when the App places the page itself: spread agentSessionsRoute({ cli, install }) into the App's routes with its navigation entry.
  2. In a service provider of the App, resolve agentSessionsToken from @nocobase/app-plugin-agent-sessions/server and register the App's link kinds and tools.
  3. Each person installs a coding agent and signs in to it, installs the App's CLI, signs in (<cli> login --server <url>) and runs <cli> acp service install on their computer, which keeps it connected from every login (<cli> acp start connects it until the terminal stops). The first registration gives the computer its own key, so it stays connected however long the sign-in lasts.

The page list has fold and expand controls, with per-viewer choices by width band. Hosts sharing a sidebar with another conversation kind can use the exported useSessionsLayout hook and pass the same layoutStoragePrefix in the route options. Compact embedded panel headers keep their own styling.

Verification

Hosts embedding AgentSessionsPanel can use attach.mode: 'replace' with a stable scope and a fresh update id to follow page context in a new draft. A new explicit entry starts another

Häufige Fragen

Läuft der Agent auf dem App-Server?

Nein. Jeder Agent läuft auf dem eigenen Computer der Person.

Können Admins die Sitzungen aller sehen?

Nein. Jede Sitzung gehört nur ihrem Besitzer, es gibt keine Admin-Ansicht.

Welche Agenten werden unterstützt?

Der Skill nennt Codex, Claude Code, Gemini CLI, GitHub Copilot, Cursor, OpenCode und weitere.

Details

Originalbeschreibung des Autors

Register the Agent Sessions plugin in a NocoBase App so people talk in the browser with the coding agents on their own computers (Codex, Claude Code, Gemini CLI, GitHub Copilot, Cursor, OpenCode and more, on macOS, Linux or Windows; `<cli> acp service install` or `acp start`), route its page, tie the App's records to sessions with a link kind (registerLinkKind) that people can also mention with `#`, let sessions work for the App's projects (registerProjects), tell the agents how to work (registerInstructions), notify the owner (registerNotices), work out why a computer is offline, an agent is

repo: nocobase/nocobase

Beliebtheit

GitHub-Sterne
25k
Platz im Ranking
#10086
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills