[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79HWHF3AWHJGQ0QW98YNJ9Z":3,"skill-same:01M79HWHF3AWHJGQ0QW98YNJ9Z":46},{"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":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M79HWHF3AWHJGQ0QW98YNJ9Z","instafy-secrets",null,"Safe secret handling policy using project secret manager actions.","instafy-dev\u002Finstafy","instafy-dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F233032513?v=4","01M79HSF94X6QYAFACH32J9DDE","Instafy","01M79HSF9TRDTDD5NKM9QSTGFW",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Finstafy-dev\u002Finstafy\u002Fblob\u002Fmain\u002Fpackages\u002Fruntime-agent\u002Fassets\u002Finstafy\u002F.agents\u002Fskills\u002Finstafy-secrets\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: instafy-secrets\ndescription: Safe secret handling policy using project secret manager actions.\n---\n\n# Secrets (project secret manager) — agent guidance\n\nGoal: let users provide third-party tokens safely and let the runtime use them as env vars.\n\n## Rules\n\n- Never ask the user to paste secret values in chat.\n- Secrets live in **Studio → Settings → Project → Secrets**.\n- Secrets are injected into the runtime as environment variables for the allowed agent handle(s).\n- Never print secret values (in logs, command output, or summaries).\n\n## When you need a secret\n\nIf a task requires a token and it is missing (env var not set), do **not** proceed. Instead, return an action so the UI can guide the user:\n\n```json\n{\n  \"summary\": \"I need a token to continue. Click the button to add it, then reply here when you’re ready and I’ll retry.\",\n  \"files\": [],\n  \"actions\": [\n    {\n      \"type\": \"request_secret\",\n      \"name\": \"GITHUB_TOKEN\",\n      \"description\": \"GitHub personal access token used to create pull requests for this repo.\",\n      \"agentHandles\": [\"octo\"]\n    }\n  ]\n}\n```\n\nGuidelines:\n- `name` should be an env var name (examples: `GITHUB_TOKEN`, `CLOUDFLARE_API_TOKEN`).\n- `agentHandles` should include the current agent handle (so the UI can preselect access).\n- Secret names can be generic (for example `TOKEN`) if description clearly states provider\u002Fcapability.\n\n## Common secret names\n\n- GitHub: `GITHUB_TOKEN` (or `GH_TOKEN` if using GitHub CLI)\n- Cloudflare: `CLOUDFLARE_API_TOKEN`\n- Stripe: `STRIPE_SECRET_KEY`\n\n## Using secrets (safely)\n\n- Read secrets only from env vars.\n- For auth\u002Fintegration tasks, inspect project secret metadata on demand before requesting a new secret:\n  - `instafy secrets list --project \u003Cproject-id> --json`\n- To check presence, only check existence (never echo values), e.g.:\n  - `python -c \"import os; print('set' if os.getenv('GITHUB_TOKEN') else 'missing')\"`\n\n## After the user adds the secret\n\nTell the user to reply when they’re ready (any short confirmation works; do **not** require an exact phrase). When the user replies:\n- Assume the secret has been added and retry the step that required it, even if the user message is vague (e.g. “ok”, “go”, “done”, “try again”).\n- If the message clearly changes the task, follow the new instruction, but still use the newly available secret if relevant.\n- If you’re unsure whether the secret was actually saved, check presence via env var existence (never print values). If still missing, re-request the secret.\n\nSecrets refresh at job start and periodically during long-running runs; no runtime restart should be required.\n","# Secrets (project secret manager) — agent guidance\n\nGoal: let users provide third-party tokens safely and let the runtime use them as env vars.\n\n## Rules\n\n- Never ask the user to paste secret values in chat.\n- Secrets live in **Studio → Settings → Project → Secrets**.\n- Secrets are injected into the runtime as environment variables for the allowed agent handle(s).\n- Never print secret values (in logs, command output, or summaries).\n\n## When you need a secret\n\nIf a task requires a token and it is missing (env var not set), do **not** proceed. Instead, return an action so the UI can guide the user:\n\n```json\n{\n  \"summary\": \"I need a token to continue. Click the button to add it, then reply here when you’re ready and I’ll retry.\",\n  \"files\": [],\n  \"actions\": [\n    {\n      \"type\": \"request_secret\",\n      \"name\": \"GITHUB_TOKEN\",\n      \"description\": \"GitHub personal access token used to create pull requests for this repo.\",\n      \"agentHandles\": [\"octo\"]\n    }\n  ]\n}\n```\n\nGuidelines:\n- `name` should be an env var name (examples: `GITHUB_TOKEN`, `CLOUDFLARE_API_TOKEN`).\n- `agentHandles` should include the current agent handle (so the UI can preselect access).\n- Secret names can be generic (for example `TOKEN`) if description clearly states provider\u002Fcapability.\n\n## Common secret names\n\n- GitHub: `GITHUB_TOKEN` (or `GH_TOKEN` if using GitHub CLI)\n- Cloudflare: `CLOUDFLARE_API_TOKEN`\n- Stripe: `STRIPE_SECRET_KEY`\n\n## Using secrets (safely)\n\n- Read secrets only from env vars.\n- For auth\u002Fintegration tasks, inspect project secret metadata on demand before requesting a new secret:\n  - `instafy secrets list --project \u003Cproject-id> --json`\n- To check presence, only check existence (never echo values), e.g.:\n  - `python -c \"import os; print('set' if os.getenv('GITHUB_TOKEN') else 'missing')\"`\n\n## After the user adds the secret\n\nTell the user to reply when they’re ready (any short confirmation works; do **not** require an exact phrase). When the user replies:\n- Assume the secret has been added and retry the step that required it, even if the user message is vague (e.g. “ok”, “go”, “done”, “try again”).\n- If the message clearly changes the task, follow the new instruction, but still use the newly available secret if relevant.\n- If you’re unsure whether the secret was actually saved, check presence via env var existence (never print values). If still missing, re-request the secret.\n\nSecrets refresh at job start and periodically during long-running runs; no runtime restart should be required.\n",{"name":5,"description":7},"main","b256e0c9a2d28d4e2d20296b433415ef27c8d4e3","packages\u002Fruntime-agent\u002Fassets\u002Finstafy\u002F.agents\u002Fskills\u002Finstafy-secrets",1,"https:\u002F\u002Fgithub.com\u002Finstafy-dev\u002Finstafy","https:\u002F\u002Fgithub.com\u002Finstafy-dev","instafy.dev","2026-11-15 00:42:15",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add instafy-dev\u002Finstafy --skill instafy-secrets",{"tool":38,"command":39},"bunx","bunx skills add instafy-dev\u002Finstafy --skill instafy-secrets",{"tool":41,"command":42},"pnpm","pnpm dlx skills add instafy-dev\u002Finstafy --skill instafy-secrets","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Finstafy-dev\u002Finstafy\u002Fblob\u002Fmain\u002Fpackages\u002Fruntime-agent\u002Fassets\u002Finstafy\u002F.agents\u002Fskills\u002Finstafy-secrets\u002FSKILL.md",true,[],[47,54,61,67,74,81],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7BE6WNHSHP6CW4X5JDGCJ1X","workspace","Work with an Instafy space — find and read its conversations and message history, inspect the person's agents and their context notes, and read run diagnostics. Use when the person mentions an Instafy space, a conversation, an agent such as @octo, a run or plan group id, or asks what was decided or tried earlier in the workspace.","https:\u002F\u002Fgithub.com\u002Finstafy-dev\u002Finstafy\u002Fblob\u002Fmain\u002Fclaude-plugin\u002Finstafy\u002Fskills\u002Fworkspace\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M79HXANKJNWV4DQ1ZFN2T09W","gamma-renamed","Third fixture skill whose frontmatter name differs from its folder.","https:\u002F\u002Fgithub.com\u002Finstafy-dev\u002Finstafy\u002Fblob\u002Fmain\u002Fpackages\u002Fruntime-agent\u002Ftests\u002Ffixtures\u002Fskills-pack\u002F.agents\u002Fskills\u002Fgamma\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M79HX9TD4129V5G2N1PE2AVP","beta","https:\u002F\u002Fgithub.com\u002Finstafy-dev\u002Finstafy\u002Fblob\u002Fmain\u002Fpackages\u002Fruntime-agent\u002Ftests\u002Ffixtures\u002Fskills-pack\u002F.agents\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79HX8CW8M8GATDJBXA6DJ4J","alpha","First fixture skill.","https:\u002F\u002Fgithub.com\u002Finstafy-dev\u002Finstafy\u002Fblob\u002Fmain\u002Fpackages\u002Fruntime-agent\u002Ftests\u002Ffixtures\u002Fskills-pack\u002F.agents\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M79HX3KZ9NY6GKVM0EDZ2JJK","instafy-web-research","Research and cite web facts, cross-check sources and respect site restrictions.","https:\u002F\u002Fgithub.com\u002Finstafy-dev\u002Finstafy\u002Fblob\u002Fmain\u002Fpackages\u002Fruntime-agent\u002Fassets\u002Finstafy\u002F.agents\u002Fskills\u002Finstafy-web-research\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M79HWZGBPY8H0E21FGCTRX79","instafy-space-review","Review accessible recent chats and start at most one useful private Octo conversation with grounded context and a natural next step. Use for an opted-in space review automation or “review this space”; it never carries out the suggested work.","https:\u002F\u002Fgithub.com\u002Finstafy-dev\u002Finstafy\u002Fblob\u002Fmain\u002Fpackages\u002Fruntime-agent\u002Fassets\u002Finstafy\u002F.agents\u002Fskills\u002Finstafy-space-review\u002FSKILL.md",[],[]]