[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CX64P86DZ5E7QQ2SSQ9MEQ":3,"skill-same:01M7CX64P86DZ5E7QQ2SSQ9MEQ":50},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":27,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M7CX64P86DZ5E7QQ2SSQ9MEQ","shell",null,"iokaio\u002Fvcp","iokaio","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F152147161?v=4","01M7CX471TZQTQ60HH3RQ2JYEY","Ioka LLC","01M7CX472X03EA2V44JVTZHR5C",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fbuiltin\u002Fshell\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Shell scripts and command boundaries\n\nOriginal VCP guidance.\n\n## Inspect first\n\n- The shebang or invocation site: `#!\u002Fbin\u002Fsh`, Bash, zsh, `pwsh`\u002F`powershell.exe`, or a script sourced by another script. The caller decides the real interpreter.\n- Shell options: `set -e`, `-u`, `-o pipefail`, `IFS` changes, `$ErrorActionPreference`, `Set-StrictMode`, and any `trap`\u002F`try`\u002F`finally` cleanup.\n- Lint and format configuration such as `.shellcheckrc`, inline ShellCheck directives, `.editorconfig`, PSScriptAnalyzer settings, and CI steps that run them.\n- `.gitattributes` line-ending rules, executable bits, and how CI or packaging invokes the script.\n- Repository instructions, Makefile\u002Ftask-runner targets and existing script tests (for example Bats, Pester or shunit2 fixtures) that show the project's verification commands.\n\n## Establish the interpreter\n\nInspect the script's declared interpreter, repository instructions, shell options, call sites, and test\u002Flint configuration. Determine Bash, POSIX shell, PowerShell, or another actual contract; these languages and their error rules are not interchangeable. This skill is always listed by its description rather than detected from root files.\n\nTrace each input into arguments, expansions, redirections and filesystem operations. Preserve spaces, Unicode and metacharacters as data. Check pipeline failure propagation, cleanup traps\u002Ffinally blocks, temporary-path ownership and the distinction between an exit code and a partial side effect.\n\n## Proceed and verify\n\n1. Find the project's lint\u002Ftest commands in instructions, task-runner targets and CI before choosing one. Candidates to confirm include `bash -n`, `sh -n`, `shellcheck`, a PowerShell parser or PSScriptAnalyzer check, and the declared script test runner.\n2. Run a declared non-effectful syntax\u002Flint check first when available and authorized.\n3. Exercise behavior with a bounded fixture: a temporary directory the task owns, synthetic inputs including spaces, quotes, globs, leading dashes and empty values, and stubbed commands for anything effectful.\n4. Where the script supports a dry-run, `--help`, `echo`-only or `-WhatIf` mode, prefer it before any real effect. Never run deletion, network, package-install, service or privileged commands against user data or remote systems without explicit authority.\n5. Never test destructive commands against user data. Do not silently run a Bash script under a different shell or download a missing interpreter.\n6. Keep secrets out of arguments, traces and logs; `set -x` and verbose output can print tokens and environment values.\n\nEvidence is the exact interpreter and version reported by the host, the command, working directory, exit status, and the observed files or output of the fixture. A clean lint run does not prove runtime behavior, and a passing run under one shell does not cover another.\n\n## Pitfalls\n\n- Unquoted expansions, `$*` versus `\"$@\"`, word splitting on filenames, and globbing in `rm`\u002F`mv` targets.\n- `set -e` is suppressed inside conditions, `&&`\u002F`||` lists and some subshells; `pipefail` is not POSIX. `local` and arrays are not POSIX either.\n- `cd` without a failure check, relative paths that depend on the caller's directory, and `mktemp` output left behind on error.\n- CRLF line endings break shebangs and produce `$'\\r'` errors; check `.gitattributes` and `core.autocrlf` before blaming the script.\n- PowerShell quoting differs from POSIX: single quotes are literal, the backtick escapes, and native-command argument passing varies by host. Execution policy can block scripts; do not change it without authorization.\n- Windows paths: backslashes, drive letters, case-insensitive names, reserved device names, long paths, and files locked by another process. Git Bash, WSL and native PowerShell see different paths and environments.\n- Exit codes from PowerShell cmdlets versus native executables (`$LASTEXITCODE`), and non-zero statuses swallowed by pipelines.\n\n## Report\n\nExplain the interpreter-specific defect or change, the exact synthetic fixture used, observed exit\u002Feffect results, and checks not run on this host.\n\nAuthority: this guidance ranks below current user constraints and AGENTS.md, grants no tools, installs or network access, and missing prerequisites are reported as not run.\n",{},"main","2d252594cbf082f9011e2f9db3cd75d0d867f19b","src\u002Fskills\u002Fbuiltin\u002Fshell","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp","https:\u002F\u002Fgithub.com\u002Fiokaio","https:\u002F\u002Fioka.io","Munarium: AI governance and memory","2026-10-06 20:43:22",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add iokaio\u002Fvcp --skill shell",{"tool":36,"command":37},"bunx","bunx skills add iokaio\u002Fvcp --skill shell",{"tool":39,"command":40},"pnpm","pnpm dlx skills add iokaio\u002Fvcp --skill shell","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fbuiltin\u002Fshell\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"skill.json","REFERENCE","参考文档",575,"https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fbuiltin\u002Fshell\u002Fskill.json",[51,59,67,74,81,89],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":55,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7CX7TY9RP5PYP882HH1NTY8","skill-installer","Install Codex skills into $CODEX_HOME\u002Fskills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fthird_party\u002Fcodex\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fskill-installer\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fthird_party\u002Fcodex\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fskill-installer\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":63,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7CX7QRQ96J76SB933B7CFBZ","skill-creator","Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources.","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fthird_party\u002Fcodex\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fskill-creator\u002Flicense.txt","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fthird_party\u002Fcodex\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7CX7M02X3J65M6M88PK26CZ","review-agent","Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fthird_party\u002Fcodex\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Freview-agent\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7CX7F6FRAY84J6S9PNTRJSG","plugin-creator","Create and scaffold plugin directories for Codex with a required `.codex-plugin\u002Fplugin.json`, optional plugin folders\u002Ffiles, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries for plugin ordering and availability metadata, or update an existing local plugin during development with the CLI-driven cachebuster and reinstall flow.","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fthird_party\u002Fcodex\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fplugin-creator\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M7CX78RYD3X1NSX0HPTJBGJ5","openai-docs","Use for Codex models\u002Fpricing, scheduled tasks, skills, settings, setup, troubleshooting, customization, automations, and self-knowledge—including 'you,' 'your,' 'this app,' or 'this coding agent' when they refer to Codex—and for OpenAI APIs\u002Fproducts and ChatGPT Work. Also use for model choice\u002Fmigration, prompting, SDKs, Responses, Realtime, agents, evals, and Chat\u002FWork\u002FCodex comparisons. Do not use for generic app\u002Fsoftware tasks that merely mention Codex.","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fthird_party\u002Fcodex\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fopenai-docs\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fthird_party\u002Fcodex\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fopenai-docs\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M7CX71M3EDS12PTPJY0M0RAB","imagegen","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fthird_party\u002Fcodex\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fimagegen\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fiokaio\u002Fvcp\u002Fblob\u002Fmain\u002Fsrc\u002Fthird_party\u002Fcodex\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fimagegen\u002FSKILL.md",[],[]]