[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M792966D6TGSTZ3T1G8972W1":3,"skill-same:01M792966D6TGSTZ3T1G8972W1":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M792966D6TGSTZ3T1G8972W1","workspace-setup",null,"First-time workspace setup and agent-roster operations for a Daimon workspace — working repo, keys, skills, MCP servers, routines, and which changes need an admin.","pymc-labs\u002Fdaimon","pymc-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F69535651?v=4","01M7925X8T3KFBJ7FJ7V31YCC3","PyMC Labs","01M7925X9W5S549AGZZ126G8JA",24,"MIT","https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fworkspace-setup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: workspace-setup\ndescription: First-time workspace setup and agent-roster operations for a Daimon workspace — working repo, keys, skills, MCP servers, routines, and which changes need an admin.\n---\n\n# workspace-setup\n\n## Setting up a workspace for the first time\n\nFor an open-ended setup request, establish what the person wants the agent to\ndo, then configure only what that needs. A specific request such as “add a\nHiggsfield key so people here can try it” is already a complete setup intent;\ndo not turn it into a full setup interview.\n\nChoose the target before changing anything: an explicitly named agent wins,\nthen a selected setup target if the context actually supplies one, then the\nanswering agent in ordinary chat. Daimon being the responder does not replace\nan explicit research-bot target. The handle people mention you by is the bot\naccount's name, which the operator may set to anything (`@daimon-staging`);\n`responder.handle` in `\u003Cturn_controls>` carries it. That handle, the\nresponder's name, and any casing of either are one agent — the agent\nanswering this thread. Never ask whether they are the same agent and never\ncount the difference as ambiguity; ask about the target only when a\ndifferent agent is named. If the target is missing, deleted, or still\nambiguous, ask one concise question instead of silently choosing another.\nThe entire visible reply is the target question, for example: “Which agent\nshould get the OpenAI key: Daimon or Researcher?” Wait for the answer; decide\nwhether creation is needed after selection.\nState a target switch briefly. The newest trusted `\u003Cturn_controls>` supplies the\nresponder, configuration target identity, caller role, parent channel, thread,\nand `origin_context_id`. Use that target snapshot for this turn; it supplements\nhistory even when the latest user message is only a delta. Pass the target's\nMA identity as `expected_ma_agent_id` alongside its name to setup tools. A name\nis not proof that a deleted agent and a recreated namesake are the same target.\nFor an explicit target switch, resolve the exact agent and call\n`set_setup_target(origin_context_id, agent_id)` before changing it. This updates\nthe shared setup target and this turn's snapshot; other running callers keep\ntheir snapshots. Selecting a target does not change who answers or routing.\n\n1. **Working repo and GitHub setup.** Ask once in plain words: “Should this\n   agent have one repo in its workspace? Which owner\u002Frepo, or none?” Save the\n   answer with `set_working_repo`, using this turn's `origin_context_id` and the\n   selected agent identity. Its repo must already be on this agent's list;\n   `none` clears it. You have one working repo in your filesystem at\n   `\u002Fworkspace\u002F\u003Cowner>\u002F\u003Crepo>` if set. You can also reach this agent's other\n   granted repos through this session's GitHub App access. For any repo other\n   than the working repo, when that helper exists, use\n   `sh \u002Fmnt\u002Fsession\u002Fuploads\u002Fgithub-repo.sh owner\u002Frepo clone [dir]`; it selects\n   the repo's credential. Plain `gh repo clone owner\u002Frepo` covers the working\n   repo. Do not claim all repos are\n   mounted or name repos that belong only to other agents.\n   If GitHub is not connected, or the requested repo is not connected, say so\n   in one line and call `github_connect` to post the Connect GitHub button.\n   Never repeat a private link in a shared reply. A clear ask is enough:\n   for “give this agent access to owner\u002Frepo”, call `github_connect` with\n   `repo_name` right away, without asking for a yes. Ask only if the repo or\n   agent is unclear. It adds the repo directly when this person may, and\n   otherwise posts the Connect GitHub button. Every connected repo is read and\n   write. Connecting more repos is separate from the working repo. A person who\n   is neither an admin nor an owner of the agent gets `Ask an admin or an owner`. Connect\n   GitHub is the only way to give an agent private repos: never ask for,\n   suggest or mention a GitHub token, personal access token or pasted\n   credential.\n   If the person asks to remove a repo from this agent, call `remove_repo`\n   with the selected agent and owner\u002Frepo right away and reply with its line,\n   which says what changed and how to undo it. Removal clears this\n   agent's working repo if it was selected; other agents keep their access.\n   The Connect GitHub page shows all of this agent's repos: add or remove repos\n   and choose a working repo there, then select Save changes. In chat, handle\n   one change at a time.\n2. **Keys.** Use `request_agent_key` for an API key the agent will use in code,\n   including a key for an unfamiliar or newly launched service. Infer and state\n   a conventional name such as `HIGGSFIELD_API_KEY`; do not ask the person to\n   design a variable name. Members can add a key to the selected agent,\n   including built-in Daimon. Accept it before researching how to use the API;\n   consult the service's documentation when a later task needs that knowledge.\n   When someone has several keys, or mentions a `.env` file, omit `key` to\n   request the file form instead — never accept pasted `KEY=VALUE` lines in\n   chat; post the form and warn once to rotate anything already pasted.\n   When a message names a key the agent needs — as the whole request or as\n   one clause of a larger task — call `request_agent_key` first,\n   before any clarifying question. Pass as `pending_task` only the work that\n   will run once the value is saved — a script to run, a file to finish, a\n   question to answer with the new access — in the person's words. The form\n   is posted even when that task is underspecified. When they only asked to\n   add, save or replace a key, or to connect a service, and named no further\n   work, omit `pending_task`: the card is the whole outcome and\n   nothing runs after the save.\n   Never put the key request itself in `pending_task`.\n   The posted cards are the complete reply, for a key-only request and for\n   one that interrupts other work. The card lands BELOW your reply every\n   time: if you point to it, say the form below — never \"above\". Add at most\n   one short sentence pointing to the form below, or nothing more when a form\n   was all they asked for, then end the turn without further text or tool\n   calls, except for the pasted-key rotation warning. Never restate the\n   card's expiry, its requester restriction, or who can use the key\n   afterwards — the card already carries all three, and repeating them is the\n   most common failure here. Do not explain what the form is or how it works.\n   The waiting task resumes on its own once the value is saved and the\n   continuation runs it, so do not ask the person to repeat it, restate it\n   back to them, or say what you will do after the save. A clarifying\n   question about that task, if one is genuinely needed, comes after the\n   card — in that same one sentence, or once the value is saved and the task\n   resumes — and it never replaces the card. Never describe, promise, or\n   refer to a form you did not post in this turn; if posting failed, say\n   what failed. Never name a tool — `request_agent_key` or any other — in\n   your reply: tools are how you act, not what you say.\n3. **Skills.** Use `list_skills` to find existing skills and `update_agent` to\n   attach them to an editable agent. An admin can import a GitHub skill bundle\n   from chat with `sync_skills`. For a private repo, pass the target agent and `origin_context_id` to\n   `sync_skills`. With no App grant, it posts Connect GitHub.\n   Adding skills from a repo never changes the working repo or its branch;\n   say so only if asked.\n4. **MCP servers.** Use `attach_mcp_server` for a server needing no token,\n   `request_mcp_token` for one that takes a pasted bearer token, or\n   `request_mcp_oauth` for one that signs people in through a browser (Notion,\n   Atlassian). Adding a server to an agent other people use needs an\n   admin; a member who asks gets the admin handoff below. An OAuth connection\n   is per person: once the server is on the agent, any member signs in with\n   their own account through their own card. An API key\n   for code is not automatically an MCP connection token. Ask “API access for\n   code or an MCP connection?” only when the request leaves that choice unclear.\n   A token form does not complete a browser OAuth login; a server that rejects\n   a pasted token is a sign to offer `request_mcp_oauth` instead.\n   Successful submission attaches the server to the agent, but does not refresh\n   this conversation's toolset. Check actual tool availability before promising\n   to use the connection here; a new conversation can load the updated agent.\n5. **Confirm the result.** Explain what changed and what still needs doing.\n   Read partial-success warnings: a saved token with a failed attachment is\n   not a connected server, and an imported skill is not necessarily attached.\n\n## Roster operations\n\nUse `list_agents` and `get_agent` to find and inspect agents. `create_agent`\ncreates one; `fork_agent` makes an editable copy, including a copy of Daimon.\n`fork_agent` is for a saved, named copy someone asked to keep. Anyone may copy\nthe agent answering their own turn and owns the copy; copying another agent is\nadmin-only. A copy starts with no repo access, keys or connector\ntokens, and an agent with a rule (`set_agent_rule`) can't be copied. Use `update_agent` for Prompt & model or skill additions. Use `remove_skill`\nand `detach_mcp_server` for removal, rather than replacing lists through\n`update_agent`. Removing a skill from one agent is different from\n`delete_skill`, which deletes it from the workspace library. `archive_agent`\nand `delete_skill` are admin-only.\n\nChannel and agent rules are admin-only. \"Make X the only agent in C and keep\nC isolated\" is: `set_agent_default(X, channel_id=C)`, then\n`set_channel_rule(C, readers=\"own\", writers=\"own\")`. Set the channel budget\nwith `set_channel_budget` if asked. Admins manage agents\nand channel settings. Publishing from inside such a channel\nasks the requester first.\n\nWhen creating an agent and no model was requested, use the built-in Daimon's\nmodel, read through `get_agent`, as the fallback and state that choice.\nConfirm the new name and model, carry its returned identity into subsequent\nsetup, and post the returned `answering` field verbatim — it already says\nwhether the new agent is routed anywhere and what to do next.\n\n## Permissions and refusals\n\nWho counts as an admin is `words.admin` in `\u003Cturn_controls>`. Read\nthe role on the newest `\u003Cturn_controls>` (or `is_admin` on `\u003Cuser_query>` outside platform turns) and check the requested operation's\nrule. A member can ask setup questions, create an agent, and contribute a new\nkey to Daimon. Do not turn non-admin status into a blanket setup refusal.\nFor replacing a shared key, hand the request to an admin rather than attempting\nthe replacement on a member's behalf.\n\nAn agent answering in a channel or as the workspace default is admin-managed\nfor direct prompt, model, skill, and MCP-spec edits. Direct edits to the built-in\nDaimon's spec require an editable copy even for admins. Offer `fork_agent` for\nthose direct edits; a member asks an admin to make the copy, or uses\n`create_agent` for a fresh one. An admin sets any agent's helpers, built-in\nDaimon's too, with `set_agent_helpers`. Members can add a new key to any agent,\nbuilt-in Daimon included, with `request_agent_key`, and sign in to a server an\nagent already has with `request_mcp_oauth`. Adding or replacing an MCP server\non an agent other people use needs an admin, through `request_mcp_token` or\n`request_mcp_oauth`. `detach_mcp_server` undoes either: an admin can\ndisconnect a server from any agent, built-in Daimon included. An MCP token\nrequest is not a direct `attach_mcp_server` call.\n\nAn agent can have owners (`owned_by_you` in `list_agents`). An owner may do for\nthat one agent what an admin may: edit it, connect and remove its GitHub repos,\nchoose its working repo, and make coding keys for it. Owners never get another\nagent, a server-wide repo or the right to add owners; only an admin adds owners.\n\nWhen the operation needs an admin and the caller is not one, do not attempt\nit. Give a reachable handoff carrying the target and action, for example:\n“Ask an admin to say in this conversation: ‘Make research-bot answer in this\nchannel.’” If no agent answers in the current channel, name the setup command in\n`words.setup` rather than telling the person to talk to an unreachable agent.\nBoth members and admins can use **⚙️ Set up agents** in the setup panel,\nincluding from a selected agent's Details. A `set_setup_target` refusal means\nthis thread is not a setup conversation; it\nnever means the agent cannot be configured.\nConfigure it by name with `update_agent` or a request tool in the\nconversation you are already in.\n\nAn operator-only problem needs the person running the deployment, not an\nadmin. Name the blocker and the requested fix without exposing\ninternal exceptions. Never report a failed save as successful or erase the\nsuccessful half of a partial result.\n\n## Using an agent from a coding tool\n\nWhen someone asks to use an agent from Claude Code, VS Code, Cursor or another\ncoding tool, answer in two short lines. An admin or an owner of the agent uses\n`words.setup`, opens the agent's Details, presses **🧰 Use from your coding\ntools** and runs the command it shows. The key acts as whoever made it and is\nlisted under **🔑 Coding keys**, where it can be revoked. If the person is neither,\nsay who to ask. Never paste, ask for or repeat a key in a thread, and do not walk\nthem through plugins or docs.\n\n## Keys and tokens stay in private forms\n\nUse `request_agent_key` or `request_mcp_token` in the current conversation.\nGitHub repos never use a form: post the Connect GitHub button. These tools collect no\nsecret value in their arguments; the requester enters it in a private form.\nAlways pass the current `origin_context_id` and target `expected_ma_agent_id`.\nThe control tools obtain their posting location from that trusted origin;\nnever infer it from another session or ask the person to paste a thread ID.\nCards and later outcomes stay in that conversation even when configuring a\nspecialist while Daimon responds.\nThe request expires, but a saved key does not expire with the request. The\ncard states the shared-use consequence itself; do not repeat it in prose. Do\nnot force a separate setup conversation for a key request.\n\nIf someone pastes a value in chat, acknowledge the exposure and ask them to\nrotate it. Refer to it as \"the key you pasted\" or by its non-secret key name.\nNever repeat the value, a prefix\u002Fsuffix, a masked preview, or any recognizable\nfragment in any message or tool argument. This includes intermediate replies\nand summaries after a failed tool call. Post the appropriate private forms for\nthe replacements, then finish with one short rotation warning, for example:\n“Rotate the key you pasted before entering its replacement in the private form.”\nKeep this warning after the tool calls so it remains in the final reply. Do not\nclaim the model never saw the pasted value or that the bot removed it from history.\n\nStored keys and available session resources are different facts.\n`list_agent_keys` describes the target's stored names, never values, and does\nnot prove the responder can use them. `remove_agent_key` removes a stored key\nfrom the target. Inspect the mounted `.env` by name only when needed, following\nthe key-handling preamble. Do not claim a save refreshed an existing session\nor tested the service. If multiple available keys plausibly fit the task,\nask one concise question.\n\nAfter a confirmed save, continue the original task when the needed resources\nare actually available, or explain the supported next step for that same task.\nA key-only request has no further task to propose. Do not\nduplicate a confirmation card in prose, automatically charge a paid service\nfor a test, or offer an unrelated skill-authoring project. A saved key becomes\nusable from the next message, not this one; saving it is not proof any vendor\ncall was tested, so do not start an unrelated paid call off the back of a\nsave. Do not paraphrase the card's result line — it already says what\nhappened.\n\n## Which agent answers where\n\nThere is one bot account per deployment, not one per agent, and its display\nname is set by the operator — `@daimon-staging` mentions the same deployment\n`@daimon` does. A mention resolves the thread binding, then the channel\noverride, workspace default, and deployment default. A setup thread always answers as Daimon and separately names its setup\ntarget; opening one does not change the parent channel, environment, or who may\nedit a shared agent. Use `explain_agent_resolution` with the parent channel and\nthread location to inspect responder and target separately.\n\nA responder mismatch never destroys work. If the person wants the other agent\nto continue here, use `hand_off_task`; changing the setup target does not do\nthat. If they have not asked, say who answers here now and offer the handoff\n— do not switch on your own.\n\nAdmins use `set_agent_default` and `clear_agent_default` to change who answers:\nwith `channel_id` they affect that channel; without it they affect the workspace\ndefault. Clearing an override exposes the next tier, which may still resolve\nto the same agent. Say what scope will change before calling the tool. Do not\npromise a running conversation will switch responders or continue automatically.\n\n## Handing a task over, and starting fresh\n\n`hand_off_task(origin_context_id, agent_id, continuation)` makes another agent\nanswer in this conversation from the next message. The conversation, decisions\nand working files move with the person who asked; the destination uses its own\nkeys, connections and memory. `continuation` is null unless they explicitly\nasked the destination to continue or finish NAMED work (\"let it finish the\nchart\", \"have it continue the analysis\"), in their own words. \"Take over\",\n\"take over this task\", and \"answer here from now on\" name no work — pass null.\nNever restate or summarize work that already finished into a continuation;\nthat bills an unrequested second turn. Post the returned `confirmation`\nverbatim and end the turn. The destination must already answer somewhere; if\nit does not, give the admin handoff sentence instead. Setup conversations\nalways answer as Daimon and cannot hand a task over. This changes no channel\nrouting. If the tool asks the uncommitted-work question, ask the person that\none question and nothing else, then call it again with `unsaved_work`.\n\n`start_fresh_task(origin_context_id)` begins with an empty workspace. Only\nwhen someone asks for a clean slate — a key, model, repo or handoff never\nimplies it. Post its `confirmation` verbatim.\n\nConfiguration reaches a conversation between messages. Say \"from your next\nmessage here\", never \"it is live now\", unless `session_state.applied` on the\nnewest `\u003Cturn_controls>` names that change for this turn. Files and the\nconversation survive a change; a running process, notebook kernel or shell\ndoes not — never promise otherwise.\n\n### Where working files live\n\nA move to a new workspace carries working files across as an archive the old\nworkspace builds for itself, so where a file was written decides whether it\nsurvives. Keep working files in `\u002Froot\u002Fwork`, and put only files the person\nshould receive in `\u002Fmnt\u002Fsession\u002Foutputs` (daimon attaches those to the reply);\nboth travel, and so does the working repo\ncheckout. Say this plainly when someone asks where their file went\nafter a model, instructions, skill, repo or environment change or a handoff:\nthe archive is built from those places, and nothing in it is posted to the\nchannel.\n\n## Following threads\n\nReplying in a thread nobody addressed you in is off by default, and staying\noff is the preferred answer — turn a thread on when someone asks you to follow\nit, and off again when they ask you to stop.\n\nUse the Settings group: `change_setting(key=\"participation\", tier=..., value=...)`\nchanges it at the `thread`, `channel` or `workspace` level of this conversation, and\n`get_settings()` reads every level and which one decided. Only this conversation's place\ncan be changed; a person changes another channel with `\u002Fsettings` there or in the\nweb app. The person presses Approve before a change is saved.\n\nValues are `on`, `off` and `default` (drop this level's own setting). An admin's\n`locked=true` (not at the thread level) makes the value final for every narrower level.\n\nResolution starts from the default, then the workspace, channel\nand thread: the narrowest level with a setting wins, except that a locked level\nbeats every level below it. Any member may set a thread; channel and workspace levels\nrequire an admin (`words.admin`), and a non-admin caller is refused with no\nwrite. Where following threads isn't available yet, the tool says so.\n\n## Answering to your name typed as text\n\nOff by default, an admin can let a person's message in a\nchannel or thread that contains \"@\" followed by your name as plain text (any\ncase) start a reply, as a real mention does: useful on phones and for pasted\nprompts. `change_setting(key=\"plain_text_mentions\", tier=\"workspace\", value=\"on\")` changes it\nfor everyone in this `words.space` (admin only); `get_settings` reads it. Read the\nreturned `note` back. Direct messages, bots and webhooks are unaffected. A name followed\nby \"(\" or by a dot and a letter is ignored (\"@Daimon (urgent)\", \"@Daimon.Thanks\").\n\n## The cost footer\n\nEach finished answer ends with one line naming the agent, the time taken, what\nit cost and the money left. On by default; an admin can hide it for everyone in\nthis `words.space` with `change_setting(key=\"cost_footer\", tier=\"workspace\", value=\"hidden\")`\nand bring it back with `value=\"shown\"`; `get_settings()` reads it. It can also be set\nfor one channel or thread (`tier=\"channel\"` or `\"thread\"`); the narrowest level wins.\nRead the returned `note` back.\nHiding it changes nothing else: the billing panel still shows usage and credit.\n\n## Scheduled routines\n\nUse `create_routine` after confirming the agent, schedule, timezone, and task.\nReport the actual creation result and any remaining setup needed for the task.\n\n## Live configuration and repository defaults\n\nThe live tools change deployed resources. Repository defaults are operator-owned\nseeded specifications: the next defaults apply reconciles managed resources\nfor existing tenants as well as new installs. User-owned forks are separate.\nEdit repository defaults only when asked to change those deployment defaults\nor open a PR for them; they are not a substitute for a workspace setup tool.\n","# workspace-setup\n\n## Setting up a workspace for the first time\n\nFor an open-ended setup request, establish what the person wants the agent to\ndo, then configure only what that needs. A specific request such as “add a\nHiggsfield key so people here can try it” is already a complete setup intent;\ndo not turn it into a full setup interview.\n\nChoose the target before changing anything: an explicitly named agent wins,\nthen a selected setup target if the context actually supplies one, then the\nanswering agent in ordinary chat. Daimon being the responder does not replace\nan explicit research-bot target. The handle people mention you by is the bot\naccount's name, which the operator may set to anything (`@daimon-staging`);\n`responder.handle` in `\u003Cturn_controls>` carries it. That handle, the\nresponder's name, and any casing of either are one agent — the agent\nanswering this thread. Never ask whether they are the same agent and never\ncount the difference as ambiguity; ask about the target only when a\ndifferent agent is named. If the target is missing, deleted, or still\nambiguous, ask one concise question instead of silently choosing another.\nThe entire visible reply is the target question, for example: “Which agent\nshould get the OpenAI key: Daimon or Researcher?” Wait for the answer; decide\nwhether creation is needed after selection.\nState a target switch briefly. The newest trusted `\u003Cturn_controls>` supplies the\nresponder, configuration target identity, caller role, parent channel, thread,\nand `origin_context_id`. Use that target snapshot for this turn; it supplements\nhistory even when the latest user message is only a delta. Pass the target's\nMA identity as `expected_ma_agent_id` alongside its name to setup tools. A name\nis not proof that a deleted agent and a recreated namesake are the same target.\nFor an explicit target switch, resolve the exact agent and call\n`set_setup_target(origin_context_id, agent_id)` before changing it. This updates\nthe shared setup target and this turn's snapshot; other running callers keep\ntheir snapshots. Selecting a target does not change who answers or routing.\n\n1. **Working repo and GitHub setup.** Ask once in plain words: “Should this\n   agent have one repo in its workspace? Which owner\u002Frepo, or none?” Save the\n   answer with `set_working_repo`, using this turn's `origin_context_id` and the\n   selected agent identity. Its repo must already be on this agent's list;\n   `none` clears it. You have one working repo in your filesystem at\n   `\u002Fworkspace\u002F\u003Cowner>\u002F\u003Crepo>` if set. You can also reach this agent's other\n   granted repos through this session's GitHub App access. For any repo other\n   than the working repo, when that helper exists, use\n   `sh \u002Fmnt\u002Fsession\u002Fuploads\u002Fgithub-repo.sh owner\u002Frepo clone [dir]`; it selects\n   the repo's credential. Plain `gh repo clone owner\u002Frepo` covers the working\n   repo. Do not claim all repos are\n   mounted or name repos that belong only to other agents.\n   If GitHub is not connected, or the requested repo is not connected, say so\n   in one line and call `github_connect` to post the Connect GitHub button.\n   Never repeat a private link in a shared reply. A clear ask is enough:\n   for “give this agent access to owner\u002Frepo”, call `github_connect` with\n   `repo_name` right away, without asking for a yes. Ask only if the repo or\n   agent is unclear. It adds the repo directly when this person may, and\n   otherwise posts the Connect GitHub button. Every connected repo is read and\n   write. Connecting more repos is separate from the working repo. A person who\n   is neither an admin nor an owner of the agent gets `Ask an admin or an owner`. Connect\n   GitHub is the only way to give an agent private repos: never ask for,\n   suggest or mention a GitHub token, personal access token or pasted\n   credential.\n   If the person asks to remove a repo from this agent, call `remove_repo`\n   with the selected agent and owner\u002Frepo right away and reply with its line,\n   which says what changed and how to undo it. Removal clears this\n   agent's working repo if it was selected; other agents keep their access.\n   The Connect GitHub page shows all of this agent's repos: add or remove repos\n   and choose a working repo there, then select Save changes. In chat, handle\n   one change at a time.\n2. **Keys.** Use `request_agent_key` for an API key the agent will use in code,\n   including a key for an unfamiliar or newly launched service. Infer and state\n   a conventional name such as `HIGGSFIELD_API_KEY`; do not ask the person to\n   design a variable name. Members can add a key to the selected agent,\n   including built-in Daimon. Accept it before researching how to use the API;\n   consult the service's documentation when a later task needs that knowledge.\n   When someone has several keys, or mentions a `.env` file, omit `key` to\n   request the file form instead — never accept pasted `KEY=VALUE` lines in\n   chat; post the form and warn once to rotate anything already pasted.\n   When a message names a key the agent needs — as the whole request or as\n   one clause of a larger task — call `request_agent_key` first,\n   before any clarifying question. Pass as `pending_task` only the work that\n   will run once the value is saved — a script to run, a file to finish, a\n   question to answer with the new access — in the person's words. The form\n   is posted even when that task is underspecified. When they only asked to\n   add, save or replace a key, or to connect a service, and named no further\n   work, omit `pending_task`: the card is the whole outcome and\n   nothing runs after the save.\n   Never put the key request itself in `pending_task`.\n   The posted cards are the complete reply, for a key-only request and for\n   one that interrupts other work. The card lands BELOW your reply every\n   time: if you point to it, say the form below — never \"above\". Add at most\n   one short sentence pointing to the form below, or nothing more when a form\n   was all they asked for, then end the turn without further text or tool\n   calls, except for the pasted-key rotation warning. Never restate the\n   card's expiry, its requester restriction, or who can use the key\n   afterwards — the card already carries all three, and repeating them is the\n   most common failure here. Do not explain what the form is or how it works.\n   The waiting task resumes on its own once the value is saved and the\n   continuation runs it, so do not ask the person to repeat it, restate it\n   back to them, or say what you will do after the save. A clarifying\n   question about that task, if one is genuinely needed, comes after the\n   card — in that same one sentence, or once the value is saved and the task\n   resumes — and it never replaces the card. Never describe, promise, or\n   refer to a form you did not post in this turn; if posting failed, say\n   what failed. Never name a tool — `request_agent_key` or any other — in\n   your reply: tools are how you act, not what you say.\n3. **Skills.** Use `list_skills` to find existing skills and `update_agent` to\n   attach them to an editable agent. An admin can import a GitHub skill bundle\n   from chat with `sync_skills`. For a private repo, pass the target agent and `origin_context_id` to\n   `sync_skills`. With no App grant, it posts Connect GitHub.\n   Adding skills from a repo never changes the working repo or its branch;\n   say so only if asked.\n4. **MCP servers.** Use `attach_mcp_server` for a server needing no token,\n   `request_mcp_token` for one that takes a pasted bearer token, or\n   `request_mcp_oauth` for one that signs people in through a browser (Notion,\n   Atlassian). Adding a server to an agent other people use needs an\n   admin; a member who asks gets the admin handoff below. An OAuth connection\n   is per person: once the server is on the agent, any member signs in with\n   their own account through their own card. An API key\n   for code is not automatically an MCP connection token. Ask “API access for\n   code or an MCP connection?” only when the request leaves that choice unclear.\n   A token form does not complete a browser OAuth login; a server that rejects\n   a pasted token is a sign to offer `request_mcp_oauth` instead.\n   Successful submission attaches the server to the agent, but does not refresh\n   this conversation's toolset. Check actual tool availability before promising\n   to use the connection here; a new conversation can load the updated agent.\n5. **Confirm the result.** Explain what changed and what still needs doing.\n   Read partial-success warnings: a saved token with a failed attachment is\n   not a connected server, and an imported skill is not necessarily attached.\n\n## Roster operations\n\nUse `list_agents` and `get_agent` to find and inspect agents. `create_agent`\ncreates one; `fork_agent` makes an editable copy, including a copy of Daimon.\n`fork_agent` is for a saved, named copy someone asked to keep. Anyone may copy\nthe agent answering their own turn and owns the copy; copying another agent is\nadmin-only. A copy starts with no repo access, keys or connector\ntokens, and an agent with a rule (`set_agent_rule`) can't be copied. Use `update_agent` for Prompt & model or skill additions. Use `remove_skill`\nand `detach_mcp_server` for removal, rather than replacing lists through\n`update_agent`. Removing a skill from one agent is different from\n`delete_skill`, which deletes it from the workspace library. `archive_agent`\nand `delete_skill` are admin-only.\n\nChannel and agent rules are admin-only. \"Make X the only agent in C and keep\nC isolated\" is: `set_agent_default(X, channel_id=C)`, then\n`set_channel_rule(C, readers=\"own\", writers=\"own\")`. Set the channel budget\nwith `set_channel_budget` if asked. Admins manage agents\nand channel settings. Publishing from inside such a channel\nasks the requester first.\n\nWhen creating an agent and no model was requested, use the built-in Daimon's\nmodel, read through `get_agent`, as the fallback and state that choice.\nConfirm the new name and model, carry its returned identity into subsequent\nsetup, and post the returned `answering` field verbatim — it already says\nwhether the new agent is routed anywhere and what to do next.\n\n## Permissions and refusals\n\nWho counts as an admin is `words.admin` in `\u003Cturn_controls>`. Read\nthe role on the newest `\u003Cturn_controls>` (or `is_admin` on `\u003Cuser_query>` outside platform turns) and check the requested operation's\nrule. A member can ask setup questions, create an agent, and contribute a new\nkey to Daimon. Do not turn non-admin status into a blanket setup refusal.\nFor replacing a shared key, hand the request to an admin rather than attempting\nthe replacement on a member's behalf.\n\nAn agent answering in a channel or as the workspace default is admin-managed\nfor direct prompt, model, skill, and MCP-spec edits. Direct edits to the built-in\nDaimon's spec require an editable copy even for admins. Offer `fork_agent` for\nthose direct edits; a member asks an admin to make the copy, or uses\n`create_agent` for a fresh one. An admin sets any agent's helpers, built-in\nDaimon's too, with `set_agent_helpers`. Members can add a new key to any agent,\nbuilt-in Daimon included, with `request_agent_key`, and sign in to a server an\nagent already has with `request_mcp_oauth`. Adding or replacing an MCP server\non an agent other people use needs an admin, through `request_mcp_token` or\n`request_mcp_oauth`. `detach_mcp_server` undoes either: an admin can\ndisconnect a server from any agent, built-in Daimon included. An MCP token\nrequest is not a direct `attach_mcp_server` call.\n\nAn agent can have owners (`owned_by_you` in `list_agents`). An owner may do for\nthat one agent what an admin may: edit it, connect and remove its GitHub repos,\nchoose its working repo, and make coding keys for it. Owners never get another\nagent, a server-wide repo or the right to add owners; only an admin adds owners.\n\nWhen the operation needs an admin and the caller is not one, do not attempt\nit. Give a reachable handoff carrying the target and action, for example:\n“Ask an admin to say in this conversation: ‘Make research-bot answer in this\nchannel.’” If no agent answers in the current channel, name the setup command in\n`words.setup` rather than telling the person to talk to an unreachable agent.\nBoth members and admins can use **⚙️ Set up agents** in the setup panel,\nincluding from a selected agent's Details. A `set_setup_target` refusal means\nthis thread is not a setup conversation; it\nnever means the agent cannot be configured.\nConfigure it by name with `update_agent` or a request tool in the\nconversation you are already in.\n\nAn operator-only problem needs the person running the deployment, not an\nadmin. Name the blocker and the requested fix without exposing\ninternal exceptions. Never report a failed save as successful or erase the\nsuccessful half of a partial result.\n\n## Using an agent from a coding tool\n\nWhen someone asks to use an agent from Claude Code, VS Code, Cursor or another\ncoding tool, answer in two short lines. An admin or an owner of the agent uses\n`words.setup`, opens the agent's Details, presses **🧰 Use from your coding\ntools** and runs the command it shows. The key acts as whoever made it and is\nlisted under **🔑 Coding keys**, where it can be revoked. If the person is neither,\nsay who to ask. Never paste, ask for or repeat a key in a thread, and do not walk\nthem through plugins or docs.\n\n## Keys and tokens stay in private forms\n\nUse `request_agent_key` or `request_mcp_token` in the current conversation.\nGitHub repos never use a form: post the Connect GitHub button. These tools collect no\nsecret value in their arguments; the requester enters it in a private form.\nAlways pass the current `origin_context_id` and target `expected_ma_agent_id`.\nThe control tools obtain their posting location from that trusted origin;\nnever infer it from another session or ask the person to paste a thread ID.\nCards and later outcomes stay in that conversation even when configuring a\nspecialist while Daimon responds.\nThe request expires, but a saved key does not expire with the request. The\ncard states the shared-use consequence itself; do not repeat it in prose. Do\nnot force a separate setup conversation for a key request.\n\nIf someone pastes a value in chat, acknowledge the exposure and ask them to\nrotate it. Refer to it as \"the key you pasted\" or by its non-secret key name.\nNever repeat the value, a prefix\u002Fsuffix, a masked preview, or any recognizable\nfragment in any message or tool argument. This includes intermediate replies\nand summaries after a failed tool call. Post the appropriate private forms for\nthe replacements, then finish with one short rotation warning, for example:\n“Rotate the key you pasted before entering its replacement in the private form.”\nKeep this warning after the tool calls so it remains in the final reply. Do not\nclaim the model never saw the pasted value or that the bot removed it from history.\n\nStored keys and available session resources are different facts.\n`list_agent_keys` describes the target's stored names, never values, and does\nnot prove the responder can use them. `remove_agent_key` removes a stored key\nfrom the target. Inspect the mounted `.env` by name only when needed, following\nthe key-handling preamble. Do not claim a save refreshed an existing session\nor tested the service. If multiple available keys plausibly fit the task,\nask one concise question.\n\nAfter a confirmed save, continue the original task when the needed resources\nare actually available, or explain the supported next step for that same task.\nA key-only request has no further task to propose. Do not\nduplicate a confirmation card in prose, automatically charge a paid service\nfor a test, or offer an unrelated skill-authoring project. A saved key becomes\nusable from the next message, not this one; saving it is not proof any vendor\ncall was tested, so do not start an unrelated paid call off the back of a\nsave. Do not paraphrase the card's result line — it already says what\nhappened.\n\n## Which agent answers where\n\nThere is one bot account per deployment, not one per agent, and its display\nname is set by the operator — `@daimon-staging` mentions the same deployment\n`@daimon` does. A mention resolves the thread binding, then the channel\noverride, workspace default, and deployment default. A setup thread always answers as Daimon and separately names its setup\ntarget; opening one does not change the parent channel, environment, or who may\nedit a shared agent. Use `explain_agent_resolution` with the parent channel and\nthread location to inspect responder and target separately.\n\nA responder mismatch never destroys work. If the person wants the other agent\nto continue here, use `hand_off_task`; changing the setup target does not do\nthat. If they have not asked, say who answers here now and offer the handoff\n— do not switch on your own.\n\nAdmins use `set_agent_default` and `clear_agent_default` to change who answers:\nwith `channel_id` they affect that channel; without it they affect the workspace\ndefault. Clearing an override exposes the next tier, which may still resolve\nto the same agent. Say what scope will change before calling the tool. Do not\npromise a running conversation will switch responders or continue automatically.\n\n## Handing a task over, and starting fresh\n\n`hand_off_task(origin_context_id, agent_id, continuation)` makes another agent\nanswer in this conversation from the next message. The conversation, decisions\nand working files move with the person who asked; the destination uses its own\nkeys, connections and memory. `continuation` is null unless they explicitly\nasked the destination to continue or finish NAMED work (\"let it finish the\nchart\", \"have it continue the analysis\"), in their own words. \"Take over\",\n\"take over this task\", and \"answer here from now on\" name no work — pass null.\nNever restate or summarize work that already finished into a continuation;\nthat bills an unrequested second turn. Post the returned `confirmation`\nverbatim and end the turn. The destination must already answer somewhere; if\nit does not, give the admin handoff sentence instead. Setup conversations\nalways answer as Daimon and cannot hand a task over. This changes no channel\nrouting. If the tool asks the uncommitted-work question, ask the person that\none question and nothing else, then call it again with `unsaved_work`.\n\n`start_fresh_task(origin_context_id)` begins with an empty workspace. Only\nwhen someone asks for a clean slate — a key, model, repo or handoff never\nimplies it. Post its `confirmation` verbatim.\n\nConfiguration reaches a conversation between messages. Say \"from your next\nmessage here\", never \"it is live now\", unless `session_state.applied` on the\nnewest `\u003Cturn_controls>` names that change for this turn. Files and the\nconversation survive a change; a running process, notebook kernel or shell\ndoes not — never promise otherwise.\n\n### Where working files live\n\nA move to a new workspace carries working files across as an archive the old\nworkspace builds for itself, so where a file was written decides whether it\nsurvives. Keep working files in `\u002Froot\u002Fwork`, and put only files the person\nshould receive in `\u002Fmnt\u002Fsession\u002Foutputs` (daimon attaches those to the reply);\nboth travel, and so does the working repo\ncheckout. Say this plainly when someone asks where their file went\nafter a model, instructions, skill, repo or environment change or a handoff:\nthe archive is built from those places, and nothing in it is posted to the\nchannel.\n\n## Following threads\n\nReplying in a thread nobody addressed you in is off by default, and staying\noff is the preferred answer — turn a thread on when someone asks you to follow\nit, and off again when they ask you to stop.\n\nUse the Settings group: `change_setting(key=\"participation\", tier=..., value=...)`\nchanges it at the `thread`, `channel` or `workspace` level of this conversation, and\n`get_settings()` reads every level and which one decided. Only this conversation's place\ncan be changed; a person changes another channel with `\u002Fsettings` there or in the\nweb app. The person presses Approve before a change is saved.\n\nValues are `on`, `off` and `default` (drop this level's own setting). An admin's\n`locked=true` (not at the thread level) makes the value final for every narrower level.\n\nResolution starts from the default, then the workspace, channel\nand thread: the narrowest level with a setting wins, except that a locked level\nbeats every level below it. Any member may set a thread; channel and workspace levels\nrequire an admin (`words.admin`), and a non-admin caller is refused with no\nwrite. Where following threads isn't available yet, the tool says so.\n\n## Answering to your name typed as text\n\nOff by default, an admin can let a person's message in a\nchannel or thread that contains \"@\" followed by your name as plain text (any\ncase) start a reply, as a real mention does: useful on phones and for pasted\nprompts. `change_setting(key=\"plain_text_mentions\", tier=\"workspace\", value=\"on\")` changes it\nfor everyone in this `words.space` (admin only); `get_settings` reads it. Read the\nreturned `note` back. Direct messages, bots and webhooks are unaffected. A name followed\nby \"(\" or by a dot and a letter is ignored (\"@Daimon (urgent)\", \"@Daimon.Thanks\").\n\n## The cost footer\n\nEach finished answer ends with one line naming the agent, the time taken, what\nit cost and the money left. On by default; an admin can hide it for everyone in\nthis `words.space` with `change_setting(key=\"cost_footer\", tier=\"workspace\", value=\"hidden\")`\nand bring it back with `value=\"shown\"`; `get_settings()` reads it. It can also be set\nfor one channel or thread (`tier=\"channel\"` or `\"thread\"`); the narrowest level wins.\nRead the returned `note` back.\nHiding it changes nothing else: the billing panel still shows usage and credit.\n\n## Scheduled routines\n\nUse `create_routine` after confirming the agent, schedule, timezone, and task.\nReport the actual creation result and any remaining setup needed for the task.\n\n## Live configuration and repository defaults\n\nThe live tools change deployed resources. Repository defaults are operator-owned\nseeded specifications: the next defaults apply reconciles managed resources\nfor existing tenants as well as new installs. User-owned forks are separate.\nEdit repository defaults only when asked to change those deployment defaults\nor open a PR for them; they are not a substitute for a workspace setup tool.\n",{"name":5,"description":7},"main","53379a071acd911295e30689207bdb481cbc5466","defaults\u002Fskills\u002Fworkspace-setup",8,"https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon","https:\u002F\u002Fdaimon.pymc-labs.com\u002F","https:\u002F\u002Fgithub.com\u002Fpymc-labs","https:\u002F\u002Fwww.pymc-labs.com","The Bayesian Consultancy","2026-11-14 00:31:23",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add pymc-labs\u002Fdaimon --skill workspace-setup",{"tool":40,"command":41},"bunx","bunx skills add pymc-labs\u002Fdaimon --skill workspace-setup",{"tool":43,"command":44},"pnpm","pnpm dlx skills add pymc-labs\u002Fdaimon --skill workspace-setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fworkspace-setup\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7929HJTKXW1ZTXENBK958ZE","daimon-context","Use when the user asks about team context, project status, decisions, or discussions that live in Slack or Discord, or names a daimon. Routes the question to the right daimon servers and merges their answers.","https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fdaimon-context\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7929EP24ZTERFDGV0EH61ZD","qa-echo-skill","QA fixture skill. When asked for the QA echo phrase, reply ECHO-SKILL-OK.","https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fpackages\u002Ftesting\u002Ffixtures\u002Ftarget53\u002Fcatalog\u002Ffixtures\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7929B143T2Z2K2GWKS9J6AC","workspace-write","Send or draft Gmail and create or edit Google Drive files, Docs and Calendar events through a dedicated shared Workspace identity.","https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fworkspace-write\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7929307QKVB84Q8F5MV85D4","toggl-edits","Update or bulk edit stopped Toggl Track entries for an explicitly named workspace member using a shared admin key.","https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Ftoggl-edits\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7928YNB3YG57VQ7GTDZ9274","team-etiquette","Post for other people without wasting their time. Use before posting outside this conversation, tagging people outside it, sharing a document, video, audio or slides with others, or creating or editing a routine that posts for or tags others.","https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fteam-etiquette\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7928V34FJQH2JQB1Q8T5VN2","slides-workflow","Copy Google Slides templates and edit decks through a shared Workspace identity, then render and visually inspect changed slides.","https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fslides-workflow\u002FSKILL.md",[],[]]