[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7929B143T2Z2K2GWKS9J6AC":3,"skill-same:01M7929B143T2Z2K2GWKS9J6AC":64},{"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},"01M7929B143T2Z2K2GWKS9J6AC","workspace-write",null,"Send or draft Gmail and create or edit Google Drive files, Docs and Calendar events through a dedicated shared Workspace identity.","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-write\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: workspace-write\ndescription: Send or draft Gmail and create or edit Google Drive files, Docs and Calendar events through a dedicated shared Workspace identity.\n---\n\nUse for a concrete user's requested write. Reads already available through a\nconnected tool need no new credential. This script acts as the operator-bound\nGoogle identity, normally daimon@, and never as the requester. Run on the\noperator's dedicated `workspace-writer` agent; do not add shared credentials to\ndefault Daimon. Every user of a bound agent can mint its tokens and use their\nscopes directly. Script refusals do not restrict arbitrary sandbox code.\n\nCall `get_cli_token(\"gcloud\")`; the token lasts about one hour. Its tool result\nenters model context and the session transcript. The literal token in the bash\ntool command also passes through the transcript and may appear in the shell's\nown command arguments. This route does not keep tokens out of transcripts.\nThe script itself reads stdin, does not accept a token argument, and redacts\nerrors. Do not echo the token or persist it to a file. Google tokens require\nan agent binding and either the matching account’s authorized-user JSON\n(`google_user_json` plus `google_user_email`) or a service-account key\n(`google_sa_json`) with domain-wide delegation. With a user credential, bind only scopes the sign-in was granted, such as `gmail.modify`, `calendar`, `drive`, `documents` and `presentations` (each under `https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002F`); any other scope makes Google refuse the refresh with `invalid_scope`.\nOrdinary chat carries the signed\nidentity. Missing setup is an operator error; never request a refresh\ntoken or run `gws auth`.\n\nWrite non-secret request JSON to a working file. Replace the script\u002Frequest\npaths and token placeholder below with the actual values from this task. Use a\nquoted heredoc delimiter so the shell does not expand token characters:\n\n```bash\npython3 \u002Fpath\u002Fto\u002Fworkspace-write\u002Fscripts\u002Fworkspace_write.py \u002Froot\u002Fwork\u002Frequest.json \u003C\u003C'DAIMON_GOOGLE_ACCESS_TOKEN'\nPASTE_EXACT_GET_CLI_TOKEN_RESULT_HERE\nDAIMON_GOOGLE_ACCESS_TOKEN\n```\n\nThis passes the token to the script's stdin, not its argv. Python standard\nlibrary only. Never put request files or credentials in `\u002Fmnt\u002Fsession\u002Foutputs`.\nRead [references\u002Frequests.md](references\u002Frequests.md) for schemas. There is no\ngeneric command, raw URL or HTTP passthrough.\n\nRespect the requested recipients, resources and changes. Missing targets are an\nerror; never infer “my” from the shared identity. Sharing, permission changes,\npermanent file deletion, Calendar deletion and Drive moves are unsupported.\nA clear user request authorizes that scope; do not add an extra approval step.\nDo not schedule these writes as unattended routines.\n\nOn success report the returned resource ID. An error\u002Ftimeout can mean a write\napplied; inspect the target using available reads before retrying. Never\nautomatically retry sends, creates or other writes. Failure output is redacted.\n","Use for a concrete user's requested write. Reads already available through a\nconnected tool need no new credential. This script acts as the operator-bound\nGoogle identity, normally daimon@, and never as the requester. Run on the\noperator's dedicated `workspace-writer` agent; do not add shared credentials to\ndefault Daimon. Every user of a bound agent can mint its tokens and use their\nscopes directly. Script refusals do not restrict arbitrary sandbox code.\n\nCall `get_cli_token(\"gcloud\")`; the token lasts about one hour. Its tool result\nenters model context and the session transcript. The literal token in the bash\ntool command also passes through the transcript and may appear in the shell's\nown command arguments. This route does not keep tokens out of transcripts.\nThe script itself reads stdin, does not accept a token argument, and redacts\nerrors. Do not echo the token or persist it to a file. Google tokens require\nan agent binding and either the matching account’s authorized-user JSON\n(`google_user_json` plus `google_user_email`) or a service-account key\n(`google_sa_json`) with domain-wide delegation. With a user credential, bind only scopes the sign-in was granted, such as `gmail.modify`, `calendar`, `drive`, `documents` and `presentations` (each under `https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002F`); any other scope makes Google refuse the refresh with `invalid_scope`.\nOrdinary chat carries the signed\nidentity. Missing setup is an operator error; never request a refresh\ntoken or run `gws auth`.\n\nWrite non-secret request JSON to a working file. Replace the script\u002Frequest\npaths and token placeholder below with the actual values from this task. Use a\nquoted heredoc delimiter so the shell does not expand token characters:\n\n```bash\npython3 \u002Fpath\u002Fto\u002Fworkspace-write\u002Fscripts\u002Fworkspace_write.py \u002Froot\u002Fwork\u002Frequest.json \u003C\u003C'DAIMON_GOOGLE_ACCESS_TOKEN'\nPASTE_EXACT_GET_CLI_TOKEN_RESULT_HERE\nDAIMON_GOOGLE_ACCESS_TOKEN\n```\n\nThis passes the token to the script's stdin, not its argv. Python standard\nlibrary only. Never put request files or credentials in `\u002Fmnt\u002Fsession\u002Foutputs`.\nRead [references\u002Frequests.md](references\u002Frequests.md) for schemas. There is no\ngeneric command, raw URL or HTTP passthrough.\n\nRespect the requested recipients, resources and changes. Missing targets are an\nerror; never infer “my” from the shared identity. Sharing, permission changes,\npermanent file deletion, Calendar deletion and Drive moves are unsupported.\nA clear user request authorizes that scope; do not add an extra approval step.\nDo not schedule these writes as unattended routines.\n\nOn success report the returned resource ID. An error\u002Ftimeout can mean a write\napplied; inspect the target using available reads before retrying. Never\nautomatically retry sends, creates or other writes. Failure output is redacted.\n",{"name":5,"description":7},"main","53379a071acd911295e30689207bdb481cbc5466","defaults\u002Fskills\u002Fworkspace-write",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-write",{"tool":40,"command":41},"bunx","bunx skills add pymc-labs\u002Fdaimon --skill workspace-write",{"tool":43,"command":44},"pnpm","pnpm dlx skills add pymc-labs\u002Fdaimon --skill workspace-write","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fworkspace-write\u002FSKILL.md",true,[48,54,60],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Frequests.md","REFERENCE","参考文档",2015,"https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fworkspace-write\u002Freferences\u002Frequests.md",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fworkflow_io.py","SCRIPT","脚本",6999,"https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fworkspace-write\u002Fscripts\u002Fworkflow_io.py",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Fworkspace_write.py",6145,"https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fworkspace-write\u002Fscripts\u002Fworkspace_write.py",[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"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":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M792966D6TGSTZ3T1G8972W1","workspace-setup","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.","https:\u002F\u002Fgithub.com\u002Fpymc-labs\u002Fdaimon\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fworkspace-setup\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"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":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"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",[],[]]