{"id":48844374,"url":"https://github.com/fitchmultz/pi-local-agents-only","last_synced_at":"2026-05-29T03:00:19.504Z","repository":{"id":347782835,"uuid":"1192800698","full_name":"fitchmultz/pi-local-agents-only","owner":"fitchmultz","description":"Pi extension that strips global AGENTS.md and CLAUDE.md from the effective prompt for selected projects.","archived":false,"fork":false,"pushed_at":"2026-05-23T19:54:34.000Z","size":375,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T21:24:07.501Z","etag":null,"topics":["agents-md","claude-md","npm-package","pi","pi-extension","pi-package","prompt-context","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/pi-local-agents-only","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fitchmultz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-26T15:17:35.000Z","updated_at":"2026-05-23T19:51:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fitchmultz/pi-local-agents-only","commit_stats":null,"previous_names":["fitchmultz/pi-local-agents-only"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/fitchmultz/pi-local-agents-only","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitchmultz%2Fpi-local-agents-only","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitchmultz%2Fpi-local-agents-only/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitchmultz%2Fpi-local-agents-only/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitchmultz%2Fpi-local-agents-only/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fitchmultz","download_url":"https://codeload.github.com/fitchmultz/pi-local-agents-only/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitchmultz%2Fpi-local-agents-only/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33632271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agents-md","claude-md","npm-package","pi","pi-extension","pi-package","prompt-context","typescript"],"created_at":"2026-04-15T04:02:48.537Z","updated_at":"2026-05-29T03:00:19.499Z","avatar_url":"https://github.com/fitchmultz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pi-local-agents-only\n\nUse repo-local `AGENTS.md` only for selected projects by stripping global `AGENTS.md` and `CLAUDE.md` from pi's effective prompt.\n\n## Install\n\nInstall it from npm with pi:\n\n```bash\npi install npm:pi-local-agents-only\n```\n\nOr install it directly from GitHub with pi:\n\n```bash\npi install https://github.com/fitchmultz/pi-local-agents-only\n```\n\nCompatibility note: this package is tested against the current pi release during each package update, and pi-bundled runtime packages are declared as optional wildcard peers. That keeps installs forward-open for future pi releases: npm peer ranges should not block users from trying a newer pi, though runtime behavior is only verified against the tested baseline until a follow-up package release confirms it.\n\n## Use\n\nEnable for the current repo:\n\n```bash\n/local-agents-only on\n```\n\nDisable for the current repo:\n\n```bash\n/local-agents-only off\n```\n\n`/local-agents-only off` clears the repo marker only. If the repo is still enabled via `/local-agents-only global-on` or `PI_LOCAL_AGENTS_ONLY=1`, it remains enabled until you also run `/local-agents-only global-off` or unset the env var.\n\nEnable or disable via the global allowlist:\n\n```bash\n/local-agents-only global-on\n/local-agents-only global-off\n```\n\nCheck status:\n\n```bash\n/local-agents-only status\n```\n\nRepo opt-in uses this marker file:\n\n```text\n.pi/local-agents-only\n```\n\nFor git repos, marker and global allowlist activation apply across linked worktrees.\n\nEnv override for one run:\n\n```bash\nPI_LOCAL_AGENTS_ONLY=1 pi\nPI_LOCAL_AGENTS_ONLY=0 pi\n```\n\nThis changes the prompt the model sees. It does not change pi's startup header.\n\nIf you toggle it during an existing session, start a fresh turn or `/new` for the cleanest verification.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffitchmultz%2Fpi-local-agents-only","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffitchmultz%2Fpi-local-agents-only","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffitchmultz%2Fpi-local-agents-only/lists"}