[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MZNEYWZBD1MXYK1ST7SR5N":3,"skill-same:01M6MZNEYWZBD1MXYK1ST7SR5N":71},{"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":23,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6MZNEYWZBD1MXYK1ST7SR5N","direnv",null,"Set up direnv\u002F.envrc for per-project Claude Code environments — switch API keys, providers, models, and feature flags automatically when entering a directory. Use when the user wants to manage multiple Claude accounts, switch between Anthropic\u002FBedrock\u002FVertex per project, or configure per-directory environment variables.","aaronsb\u002Fagent-ways","aaronsb","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2738471?v=4","01M6MZKZTB1QDZ0YMSVFC2F0RE","Aaron Bockelie","01M6MZKZYG6T75YE9PCBNR72QK",26,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Faaronsb\u002Fagent-ways\u002Fblob\u002Fmain\u002Fskills\u002Fdirenv\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[5,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"claude code environments","api keys","environments","Variables","bedrock","environment variables","project","flags","up","directory","edit","write","read","configure","Bash","api","Providers","SET","code","2026-11-10 10:12:30",false,"---\nname: direnv\ndescription: Set up direnv\u002F.envrc for per-project Claude Code environments — switch API keys, providers, models, and feature flags automatically when entering a directory. Use when the user wants to manage multiple Claude accounts, switch between Anthropic\u002FBedrock\u002FVertex per project, or configure per-directory environment variables.\nallowed-tools: Bash, Read, Write, Edit, Glob\n---\n\n# direnv — Per-Project Claude Code Environments\n\nSet up `.envrc` files so Claude Code automatically loads the right API keys, provider, model, and feature flags when you `cd` into a project directory.\n\n## Prerequisites\n\nCheck that direnv is installed and hooked into the shell:\n\n```bash\nwhich direnv && direnv version\n# If missing: suggest installation for their platform\n```\n\nCheck the shell hook is active:\n\n```bash\ngrep -q 'direnv' ~\u002F.zshrc ~\u002F.bashrc 2>\u002Fdev\u002Fnull && echo \"hook found\" || echo \"hook missing\"\n```\n\nIf the hook is missing, add it:\n- **zsh**: `echo 'eval \"$(direnv hook zsh)\"' >> ~\u002F.zshrc`\n- **bash**: `echo 'eval \"$(direnv hook bash)\"' >> ~\u002F.bashrc`\n\n## Creating a .envrc\n\nAsk the user which scenario they need, then generate the `.envrc`:\n\n### Direct API Key (personal\u002Fhobby)\n\n```bash\n# .envrc\nexport ANTHROPIC_API_KEY=\"sk-ant-...\"\n```\n\n### AWS Bedrock\n\n```bash\n# .envrc\nexport CLAUDE_CODE_USE_BEDROCK=1\nexport AWS_PROFILE=my-bedrock-profile\nexport AWS_REGION=us-east-1\n# Optional: override model\n# export ANTHROPIC_MODEL=\"anthropic.claude-opus-5\"\n```\n\n### Google Vertex AI\n\n```bash\n# .envrc\nexport CLAUDE_CODE_USE_VERTEX=1\nexport CLOUD_ML_REGION=us-east5\nexport ANTHROPIC_VERTEX_PROJECT_ID=my-project-id\n```\n\n### Microsoft Azure Foundry\n\n```bash\n# .envrc\nexport CLAUDE_CODE_USE_FOUNDRY=1\nexport ANTHROPIC_FOUNDRY_BASE_URL=\"https:\u002F\u002Fmy-resource.services.ai.azure.com\u002Fapi\"\nexport ANTHROPIC_FOUNDRY_API_KEY=\"...\"\n```\n\n### Feature Flags \u002F Tuning\n\n```bash\n# .envrc — append to any of the above\nexport ANTHROPIC_MODEL=\"claude-opus-5\"     # pin a specific model snapshot; update as releases land\nexport CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000\nexport CLAUDE_CODE_EFFORT_LEVEL=high\nexport CLAUDE_CODE_AUTOCOMPACT_PCT_OVERRIDE=99\n```\n\n## Security Checklist\n\nAfter creating the `.envrc`:\n\n1. **Allow it**: `direnv allow` (required after every edit)\n2. **Gitignore it**: Verify `.envrc` is in `.gitignore` — it may contain secrets\n\n```bash\ngrep -q '.envrc' .gitignore 2>\u002Fdev\u002Fnull || echo '.envrc' >> .gitignore\n```\n\n3. **Never commit API keys** — if the project is shared, use `direnv allow` locally and keep `.envrc` out of version control.\n\n## Verifying\n\nAfter setup, verify the environment loads:\n\n```bash\ncd \u002Fpath\u002Fto\u002Fproject\ndirenv allow\nenv | grep -E 'ANTHROPIC|CLAUDE_CODE|AWS_PROFILE|CLOUD_ML'\n```\n\nThen start `claude` and confirm the right provider\u002Fmodel is active.\n\n## Common Patterns\n\n### Layered configs with `.envrc.local`\n\n```bash\n# .envrc (committed, non-secret defaults)\nexport CLAUDE_CODE_EFFORT_LEVEL=high\nexport CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000\n\n# Source local overrides if present\nsource_env_if_exists .envrc.local\n```\n\n```bash\n# .envrc.local (gitignored, secrets)\nexport ANTHROPIC_API_KEY=\"sk-ant-...\"\n```\n\n### Switching between projects\n\nNo action needed — direnv automatically loads\u002Funloads when you `cd`. Just set up each project's `.envrc` once.\n\n## Reference: Claude Code env vars\n\nThe full, current list of Claude Code environment variables — providers, model, effort, token limits, config dir — lives in the canonical settings reference. Don't reproduce it here; it drifts:\n\n> https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsettings.md\n\nThe examples above cover the common provider \u002F model \u002F flag cases.\n\n## Not for\n\n- Global, single-account setups — set the env vars normally; direnv earns its keep only when config differs *per project*.\n- Managing non-Claude-Code environment variables — that's plain `direnv` usage, not this skill.\n","# direnv — Per-Project Claude Code Environments\n\nSet up `.envrc` files so Claude Code automatically loads the right API keys, provider, model, and feature flags when you `cd` into a project directory.\n\n## Prerequisites\n\nCheck that direnv is installed and hooked into the shell:\n\n```bash\nwhich direnv && direnv version\n# If missing: suggest installation for their platform\n```\n\nCheck the shell hook is active:\n\n```bash\ngrep -q 'direnv' ~\u002F.zshrc ~\u002F.bashrc 2>\u002Fdev\u002Fnull && echo \"hook found\" || echo \"hook missing\"\n```\n\nIf the hook is missing, add it:\n- **zsh**: `echo 'eval \"$(direnv hook zsh)\"' >> ~\u002F.zshrc`\n- **bash**: `echo 'eval \"$(direnv hook bash)\"' >> ~\u002F.bashrc`\n\n## Creating a .envrc\n\nAsk the user which scenario they need, then generate the `.envrc`:\n\n### Direct API Key (personal\u002Fhobby)\n\n```bash\n# .envrc\nexport ANTHROPIC_API_KEY=\"sk-ant-...\"\n```\n\n### AWS Bedrock\n\n```bash\n# .envrc\nexport CLAUDE_CODE_USE_BEDROCK=1\nexport AWS_PROFILE=my-bedrock-profile\nexport AWS_REGION=us-east-1\n# Optional: override model\n# export ANTHROPIC_MODEL=\"anthropic.claude-opus-5\"\n```\n\n### Google Vertex AI\n\n```bash\n# .envrc\nexport CLAUDE_CODE_USE_VERTEX=1\nexport CLOUD_ML_REGION=us-east5\nexport ANTHROPIC_VERTEX_PROJECT_ID=my-project-id\n```\n\n### Microsoft Azure Foundry\n\n```bash\n# .envrc\nexport CLAUDE_CODE_USE_FOUNDRY=1\nexport ANTHROPIC_FOUNDRY_BASE_URL=\"https:\u002F\u002Fmy-resource.services.ai.azure.com\u002Fapi\"\nexport ANTHROPIC_FOUNDRY_API_KEY=\"...\"\n```\n\n### Feature Flags \u002F Tuning\n\n```bash\n# .envrc — append to any of the above\nexport ANTHROPIC_MODEL=\"claude-opus-5\"     # pin a specific model snapshot; update as releases land\nexport CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000\nexport CLAUDE_CODE_EFFORT_LEVEL=high\nexport CLAUDE_CODE_AUTOCOMPACT_PCT_OVERRIDE=99\n```\n\n## Security Checklist\n\nAfter creating the `.envrc`:\n\n1. **Allow it**: `direnv allow` (required after every edit)\n2. **Gitignore it**: Verify `.envrc` is in `.gitignore` — it may contain secrets\n\n```bash\ngrep -q '.envrc' .gitignore 2>\u002Fdev\u002Fnull || echo '.envrc' >> .gitignore\n```\n\n3. **Never commit API keys** — if the project is shared, use `direnv allow` locally and keep `.envrc` out of version control.\n\n## Verifying\n\nAfter setup, verify the environment loads:\n\n```bash\ncd \u002Fpath\u002Fto\u002Fproject\ndirenv allow\nenv | grep -E 'ANTHROPIC|CLAUDE_CODE|AWS_PROFILE|CLOUD_ML'\n```\n\nThen start `claude` and confirm the right provider\u002Fmodel is active.\n\n## Common Patterns\n\n### Layered configs with `.envrc.local`\n\n```bash\n# .envrc (committed, non-secret defaults)\nexport CLAUDE_CODE_EFFORT_LEVEL=high\nexport CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000\n\n# Source local overrides if present\nsource_env_if_exists .envrc.local\n```\n\n```bash\n# .envrc.local (gitignored, secrets)\nexport ANTHROPIC_API_KEY=\"sk-ant-...\"\n```\n\n### Switching between projects\n\nNo action needed — direnv automatically loads\u002Funloads when you `cd`. Just set up each project's `.envrc` once.\n\n## Reference: Claude Code env vars\n\nThe full, current list of Claude Code environment variables — providers, model, effort, token limits, config dir — lives in the canonical settings reference. Don't reproduce it here; it drifts:\n\n> https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsettings.md\n\nThe examples above cover the common provider \u002F model \u002F flag cases.\n\n## Not for\n\n- Global, single-account setups — set the env vars normally; direnv earns its keep only when config differs *per project*.\n- Managing non-Claude-Code environment variables — that's plain `direnv` usage, not this skill.\n",{"name":5,"description":7,"allowed-tools":48},"Bash, Read, Write, Edit, Glob","main","e99c7d9ee1f646cdb86d1a215830339837be153a","skills\u002Fdirenv",13,"https:\u002F\u002Fgithub.com\u002Faaronsb\u002Fagent-ways","https:\u002F\u002Fgithub.com\u002Faaronsb","I like coding with AI tools and making things.","2026-11-14 03:59:52",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add aaronsb\u002Fagent-ways --skill direnv",{"tool":63,"command":64},"bunx","bunx skills add aaronsb\u002Fagent-ways --skill direnv",{"tool":66,"command":67},"pnpm","pnpm dlx skills add aaronsb\u002Fagent-ways --skill direnv","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faaronsb\u002Fagent-ways\u002Fblob\u002Fmain\u002Fskills\u002Fdirenv\u002FSKILL.md",true,[],[72,91,102,123,149,171],{"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":83,"publishedAt":43},"01M6MZQPWHX5QCS3PVPVY1WAVC","my-skill","A hand-built skill the user keeps in ~\u002F.claude\u002Fskills. The fixture asserts it survives the install.","https:\u002F\u002Fgithub.com\u002Faaronsb\u002Fagent-ways\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdocker\u002Fseed\u002Fclaude\u002Fskills\u002Fmy-skill\u002FSKILL.md",[78],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[84,85,86,87,88,89,90],"my skill","my","hand","user","it","fixture","install",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":98,"publishedAt":43},"01M6MZQKYC9X5E94EDSGGGKZ78","work-skill","A skill in a second Claude Code config directory. The fixture asserts the directory is untouched.","https:\u002F\u002Fgithub.com\u002Faaronsb\u002Fagent-ways\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdocker\u002Fseed\u002Fclaude-work\u002Fskills\u002Fwork-skill\u002FSKILL.md",[97],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},[99,100,101,33,42,89],"work","work skill","config",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":109,"publishedAt":43},"01M6MZQE8ZJARAB2WGCNHN9JB8","wrap","Wrap up a session at a natural seam — land in-flight work, square the TaskList honestly, write a copy-paste continuation prompt, then hand off to a directed \u002Fcompact. Use when the user says \"wrap up\", \"wrap this up\", \"let's wrap\", \"end of session\", \"checkpoint and compact\", \"hand off\", or invokes \u002Fwrap.","https:\u002F\u002Fgithub.com\u002Faaronsb\u002Fagent-ways\u002Fblob\u002Fmain\u002Fskills\u002Fwrap\u002FSKILL.md",[108],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},[104,110,111,32,112,113,114,115,116,117,118,119,120,35,36,121,122,99,86,38],"compact","use","end","session","checkpoint","continuation","wrap up","when","prompt","grep","square","at","paste",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":130,"publishedAt":43},"01M6MZQ8GDE7JHXY907BF0B495","ways-update","Update the agent-ways installation to the latest version — preview the update with `ways manage update --what-if` (versions, release notes, the commits, local changes, the actions, dev links), read it back to the user, then apply it with `ways manage update --commit`, which pulls the app source in $XDG_DATA, refreshes the binaries and corpus, and reprojects ~\u002F.claude. Use when the user wants to update agent-ways, pull the latest ways\u002Fhooks, or refresh their ways framework install. Not for editing or authoring individual ways (that is the ways skill) or upgrading project dependencies.","https:\u002F\u002Fgithub.com\u002Faaronsb\u002Fagent-ways\u002Fblob\u002Fmain\u002Fskills\u002Fways-update\u002FSKILL.md",[129],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},[131,132,133,134,135,111,136,137,138,139,140,141,142,143,144,145,146,147,148,30],"ways update","update","version","editing","update agent","manage","actions","hooks","release notes","dev","local","for","commits","which","links","app","pull","back",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":43},"01M6MZQ3N4FRH6A5Z56P034ZQW","ways-tests","Score way matching via embedding similarity, analyze vocabulary, and validate frontmatter. Use when testing how well a way matches prompts, checking cosine similarity scores, inspecting the embedding engine status, or validating way files.","https:\u002F\u002Fgithub.com\u002Faaronsb\u002Fagent-ways\u002Fblob\u002Fmain\u002Fskills\u002Fways-tests\u002FSKILL.md",[],[156,157,158,159,160,111,119,161,162,163,164,34,36,165,166,167,168,169,170,38],"tests","ways tests","files","testing","embedding","frontmatter","prompts","status","validate","matching","how","via","similarity","engine","analyze",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":43},"01M6MZPXNGYKM1YG02F7Z5VRFW","ways-localize","Localize agent-ways into the operator's language — translate every way's matching metadata against the English root, tune it clean, and switch ways (and Claude Code) into that language. Use when the operator asks to run ways in their language (\"set up ways in Spanish\", \"localiza ways al español\", \"ways auf Deutsch\"). Not for authoring or editing individual ways (that is the ways skill), not for English installs (already built), and not for changing Claude Code's language alone (that is a settings.json edit).","https:\u002F\u002Fgithub.com\u002Faaronsb\u002Fagent-ways\u002Fblob\u002Fmain\u002Fskills\u002Fways-localize\u002FSKILL.md",[],[178,179,38,180,36,165,181,182,183,42,111,184,185,32,186,134,142,187,188,41],"localize","ways localize","settings","json","run","english","settings.json","clean","translate","switch","spanish"]