Skip to Content
@admin

Skills

Six management skill bundles that let an agent operate the platform through the admin routes.

The admin package ships six skill bundles under skills/. Each is a standard agentskills.io directory, activated through the execute tool like any skill. Together they make the whole administrative surface callable by an agent: the same routes the widget calls, taught as one-line neuralis request <METHOD> @neuralis/admin/<route> calls (Neuralis CLI).

Identity and visibility

Inside an activated skill, neuralis request authenticates with the per-stream session ticket, so every call carries the caller's real identity and the model never sees a token. Each route then checks its own feature against that identity.

Each bundle declares requiredFeatures, the weakest set that makes it useful. A caller without them never sees the bundle: it is not listed, not injected into the prompt and not activatable. A visible bundle can still contain a call the caller may not make; that call's route refuses it. Ordinary member roles hold only project.dashboard, so these bundles are invisible to them.

The six bundles

BundleRequiresWhat it does
inspect-adminproject.audit, project.canvas, project.dashboardRead-only diagnostics: logs, audit, stats, usage, health, Codex savings, streams, canvas. Platform-global logs also need platform.audit
manage-platform-configproject.rolesThe role map (writing it needs the role-management flag), platform settings (platform.config), source configs, vector status and reset, an embedder check, and the host's package requests
manage-projects-and-usersproject.dashboard, project.membersRead-only inventory of your projects and their members
create-projects-and-usersproject.membersInvite a user or issue a one-time invite link, create a project, assign an agent to a member (who may manage it; who may use it is the Agents tab's attach)
manage-cache-and-rescanpackages.manageThe project's packages (list, trust, build, gating feature, withheld tools), cache clear and rescan
manage-credentialsproject.credentials, project.credentials.writeThe credential catalog and scope-aware set and delete

What the bundles teach

  • Read before you replace. config/roles takes the whole role map (the read returns an array of {name, definition}, the write wants a map keyed by name), and sources takes the whole permissions object. The bundle's examples are read-then-resend round trips, because a hand-written partial body succeeds and silently drops the rest.
  • The embedder check is the one script: it runs a real semantic search, so it passes a gate in admin and one in brain-core, and reports a refused feature as "blocked by" that feature instead of calling the embedder dead.
  • Invitations carry no password. An invited account has no usable first password; an operator sets it from the Users tab. A one-time invite link is a credential sitting in the conversation: the agent hands it only to the invited person and revokes it if it went anywhere else.
  • Rescan is for dropped packages. It makes the host pick up a package dropped into the project's _packages/ folder; a changed installed package needs a host restart instead.
  • Secrets travel on stdin (-F value=@-), never on the command line, and the catalog never returns a value. A scope outside your session needs platform.scope, which no role holds by default.

Example calls

neuralis request GET @neuralis/admin/dashboard/stats
neuralis request GET @neuralis/admin/dashboard/usage -f range=7d -f groupBy=agent -f scope=project
# A credential write REPLACES the stored value; practise on a throwaway id.
printf '%s' demo-not-a-real-secret | neuralis request PUT @neuralis/admin/credentials/SCRATCH_DEMO_TOKEN -f scope=project -F value=@-
neuralis request DELETE '@neuralis/admin/credentials/SCRATCH_DEMO_TOKEN?scope=project'

Every mutating example in a shipped bundle either targets an object it creates and removes itself, or says in place why it cannot (a platform setting and the vector reset are instance-wide). A line's tier marker says who may run it; a destructive line also states its blast radius. No bundle declares credentials:: the session ticket is all the authentication a host call needs.

On this page