plugins/lisa-wiki-copilot/skills/lisa-wiki-add-role/SKILL.md
Scaffold a domain-expert "digital staff" role over the wiki — a dual-runtime subagent (Claude + Codex) plus a staff doc page — from a config.staff[] entry. Use when a project wants a role-scoped expert (e.g. Legal, Finance, Sales) whose knowledge is a slice of the wiki. The plugin only SETS UP the subagent; whether it is ever invoked, scheduled, or routed is out of scope.
npx skillsauth add codyswanngt/lisa lisa-wiki-add-roleInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Turn a role definition into two generated artifacts: a documentation page in the wiki and a runnable, brain-pointed subagent on both runtimes. Running the subagent (invocation, scheduling, Telegram / agent-team routing, private notebooks) is out of scope — this skill only creates it.
config.staff[] entry (or interview to add one): id, role,
expertise, owns (categories / connectors / skills), sensitivity.wiki/staff/<id>.md describing the role, its owned domain, and who it
reports to. This page is wiki content and is itself ingestible (the roles connector)..claude/agents/<id>.md..codex/agents/<id>.toml (keys name, description, developer_instructions; optional
model, model_reasoning_effort, sandbox_mode).wiki/<owned>/;
/query it first, contribute via /ingest; stay in your lane." It points at the live wiki so it
never goes stale. Only its one-line description is synthesized from the wiki at generation time.roleDescriptionSerialized with
JSON.stringify(roleDescription) or an exact equivalent that emits one JSON string literal on one
physical line. Substitute that serialized literal, including its surrounding quotes, directly for
{{roleDescriptionSerialized}} in both templates. Do not add another layer of quotes. This keeps
colon-space sequences, quotes, backslashes, and runtime newlines exact in both YAML and TOML.config.staff[] entry.lisa-wiki-setup (seeds the roster), lisa-wiki-add-ingest, lisa-wiki-onboard-me.
development
Prepare a machine — a fresh laptop or a throwaway container — to run coding agents, before any repository exists. Detects which of Lisa's supported agents (Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot) are already installed, asks which credential manager the machine uses (Bitwarden, 1Password, Doppler, Vault, AWS, or none), and installs only what is missing, each by its vendor's own preferred method. Idempotent, headless by default, and emits a Dockerfile for a spin-up/spin-down environment. Run it on a new machine, in a container, or before cloning anything.
tools
Provision and verify a remote execution environment for a host project — Codex Cloud today, other remote surfaces as they are added. Generates a repository-owned setup script that installs the declared toolchain, materializes secrets through lisa-secrets-access, and runs the project's own hook. Provisions by API where one exists, by driving the vendor console where one does not, and by emitting exact config otherwise — then proves the result with the same read-back regardless of which tier did the work. Use before dispatching any work with executionEnv.
tools
Bring a developer's machine in line with the toolchain the project declares. Reports every tool in remoteEnv.tools that is missing, outdated, or unpinned for this platform, and installs the missing ones into ~/.local/bin from the same pinned, checksummed entries the remote surfaces use — but only when asked. Same manifest, same pins, same installers as lisa-setup-remote-env; what differs is consent and that the pin is a floor rather than an equality. Run it on a fresh checkout, after a manifest change, or when a tool fails at the moment of use.
tools
Route one unit of work to a remote execution surface. Reads the executionEnv parameter (local by default, codex-cloud or claude-web today), verifies the environment is provisioned and bound to this repository, submits a thin skill invocation, records the task identifier to .lisa/remote-dispatch.json, and exits without polling. Routing only — the remote runs the identical skill from the identical repository. Composable and inline: other skills invoke it via the Skill tool rather than users calling it directly.