[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75E8FWM6HGEJR07HC34Y12T":3,"skill-same:01M75E8FWM6HGEJR07HC34Y12T":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M75E8FWM6HGEJR07HC34Y12T","freeze",null,"Restrict file edits to a specific directory for the session. Blocks Edit and\nWrite outside the allowed path. Use when debugging to prevent accidentally\n\"fixing\" unrelated code, or when you want to scope changes to one module.\nUse when asked to \"freeze\", \"restrict edits\", \"only edit this folder\",\nor \"lock down edits\". (gstack)","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002Ffreeze\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: freeze\nversion: 0.1.0\ndescription: |\n  Restrict file edits to a specific directory for the session. Blocks Edit and\n  Write outside the allowed path. Use when debugging to prevent accidentally\n  \"fixing\" unrelated code, or when you want to scope changes to one module.\n  Use when asked to \"freeze\", \"restrict edits\", \"only edit this folder\",\n  or \"lock down edits\". (gstack)\ntriggers:\n  - freeze edits to directory\n  - lock editing scope\n  - restrict file changes\nallowed-tools:\n  - Bash\n  - Read\n  - AskUserQuestion\nhooks:\n  PreToolUse:\n    - matcher: \"Edit\"\n      hooks:\n        - type: command\n          command: \"bash ${CLAUDE_SKILL_DIR}\u002Fbin\u002Fcheck-freeze.sh\"\n          statusMessage: \"Checking freeze boundary...\"\n    - matcher: \"Write\"\n      hooks:\n        - type: command\n          command: \"bash ${CLAUDE_SKILL_DIR}\u002Fbin\u002Fcheck-freeze.sh\"\n          statusMessage: \"Checking freeze boundary...\"\n---\n\u003C!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->\n\u003C!-- Regenerate: bun run gen:skill-docs -->\n\n# \u002Ffreeze — Restrict Edits to a Directory\n\nLock file edits to a specific directory. Any Edit or Write operation targeting\na file outside the allowed path will be **blocked** (not just warned).\n\n```bash\nmkdir -p ~\u002F.gstack\u002Fanalytics\necho '{\"skill\":\"freeze\",\"ts\":\"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'\",\"repo\":\"'$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull)\" 2>\u002Fdev\u002Fnull || echo \"unknown\")'\"}'  >> ~\u002F.gstack\u002Fanalytics\u002Fskill-usage.jsonl 2>\u002Fdev\u002Fnull || true\n```\n\n## Setup\n\nAsk the user which directory to restrict edits to. Use AskUserQuestion:\n\n- Question: \"Which directory should I restrict edits to? Files outside this path will be blocked from editing.\"\n- Text input (not multiple choice) — the user types a path.\n\nOnce the user provides a directory path:\n\n1. Resolve it to an absolute path:\n```bash\nFREEZE_DIR=$(cd \"\u003Cuser-provided-path>\" 2>\u002Fdev\u002Fnull && pwd)\necho \"$FREEZE_DIR\"\n```\n\n2. Ensure trailing slash and save to the freeze state file:\n```bash\nFREEZE_DIR=\"${FREEZE_DIR%\u002F}\u002F\"\nSTATE_DIR=\"${CLAUDE_PLUGIN_DATA:-$HOME\u002F.gstack}\"\nmkdir -p \"$STATE_DIR\"\necho \"$FREEZE_DIR\" > \"$STATE_DIR\u002Ffreeze-dir.txt\"\necho \"Freeze boundary set: $FREEZE_DIR\"\n```\n\nTell the user: \"Edits are now restricted to `\u003Cpath>\u002F`. Any Edit or Write\noutside this directory will be blocked. To change the boundary, run `\u002Ffreeze`\nagain. To remove it, run `\u002Funfreeze` or end the session.\"\n\n## How it works\n\nThe hook reads `file_path` from the Edit\u002FWrite tool input JSON, then checks\nwhether the path starts with the freeze directory. If not, it returns\n`permissionDecision: \"deny\"` to block the operation.\n\nThe freeze boundary persists for the session via the state file. The hook\nscript reads it on every Edit\u002FWrite invocation.\n\n## Notes\n\n- The trailing `\u002F` on the freeze directory prevents `\u002Fsrc` from matching `\u002Fsrc-old`\n- Freeze applies to Edit and Write tools only — Read, Bash, Glob, Grep are unaffected\n- This prevents accidental edits, not a security boundary — Bash commands like `sed` can still modify files outside the boundary\n- To deactivate, run `\u002Funfreeze` or end the conversation\n","\u003C!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->\n\u003C!-- Regenerate: bun run gen:skill-docs -->\n\n# \u002Ffreeze — Restrict Edits to a Directory\n\nLock file edits to a specific directory. Any Edit or Write operation targeting\na file outside the allowed path will be **blocked** (not just warned).\n\n```bash\nmkdir -p ~\u002F.gstack\u002Fanalytics\necho '{\"skill\":\"freeze\",\"ts\":\"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'\",\"repo\":\"'$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull)\" 2>\u002Fdev\u002Fnull || echo \"unknown\")'\"}'  >> ~\u002F.gstack\u002Fanalytics\u002Fskill-usage.jsonl 2>\u002Fdev\u002Fnull || true\n```\n\n## Setup\n\nAsk the user which directory to restrict edits to. Use AskUserQuestion:\n\n- Question: \"Which directory should I restrict edits to? Files outside this path will be blocked from editing.\"\n- Text input (not multiple choice) — the user types a path.\n\nOnce the user provides a directory path:\n\n1. Resolve it to an absolute path:\n```bash\nFREEZE_DIR=$(cd \"\u003Cuser-provided-path>\" 2>\u002Fdev\u002Fnull && pwd)\necho \"$FREEZE_DIR\"\n```\n\n2. Ensure trailing slash and save to the freeze state file:\n```bash\nFREEZE_DIR=\"${FREEZE_DIR%\u002F}\u002F\"\nSTATE_DIR=\"${CLAUDE_PLUGIN_DATA:-$HOME\u002F.gstack}\"\nmkdir -p \"$STATE_DIR\"\necho \"$FREEZE_DIR\" > \"$STATE_DIR\u002Ffreeze-dir.txt\"\necho \"Freeze boundary set: $FREEZE_DIR\"\n```\n\nTell the user: \"Edits are now restricted to `\u003Cpath>\u002F`. Any Edit or Write\noutside this directory will be blocked. To change the boundary, run `\u002Ffreeze`\nagain. To remove it, run `\u002Funfreeze` or end the session.\"\n\n## How it works\n\nThe hook reads `file_path` from the Edit\u002FWrite tool input JSON, then checks\nwhether the path starts with the freeze directory. If not, it returns\n`permissionDecision: \"deny\"` to block the operation.\n\nThe freeze boundary persists for the session via the state file. The hook\nscript reads it on every Edit\u002FWrite invocation.\n\n## Notes\n\n- The trailing `\u002F` on the freeze directory prevents `\u002Fsrc` from matching `\u002Fsrc-old`\n- Freeze applies to Edit and Write tools only — Read, Bash, Glob, Grep are unaffected\n- This prevents accidental edits, not a security boundary — Bash commands like `sed` can still modify files outside the boundary\n- To deactivate, run `\u002Funfreeze` or end the conversation\n",{"name":5,"hooks":23,"version":36,"triggers":37,"description":41,"allowed-tools":42},{"PreToolUse":24},[25,32],{"hooks":26,"matcher":31},[27],{"type":28,"command":29,"statusMessage":30},"command","bash ${CLAUDE_SKILL_DIR}\u002Fbin\u002Fcheck-freeze.sh","Checking freeze boundary...","Edit",{"hooks":33,"matcher":35},[34],{"type":28,"command":29,"statusMessage":30},"Write","0.1.0",[38,39,40],"freeze edits to directory","lock editing scope","restrict file changes","Restrict file edits to a specific directory for the session. Blocks Edit and\nWrite outside the allowed path. Use when debugging to prevent accidentally\n\"fixing\" unrelated code, or when you want to scope changes to one module.\nUse when asked to \"freeze\", \"restrict edits\", \"only edit this folder\",\nor \"lock down edits\". (gstack)\n",[43,44,45],"Bash","Read","AskUserQuestion","main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Fgstack\u002Ffreeze",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add agisota\u002Fold-one --skill freeze",{"tool":61,"command":62},"bunx","bunx skills add agisota\u002Fold-one --skill freeze",{"tool":64,"command":65},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill freeze","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002Ffreeze\u002FSKILL.md",true,[69,75],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"bin\u002Fcheck-freeze.sh","SCRIPT","脚本",2689,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002Ffreeze\u002Fbin\u002Fcheck-freeze.sh",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"SKILL.md.tmpl","OTHER","其他",3005,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002Ffreeze\u002FSKILL.md.tmpl",[82,89,96,105,112,119],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":100,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]