agentleFS
steipetesteipete/agent-scripts/AGENTS.MD

agent-scripts

AGENTS.md7.2k starsChanged 2 months agoMITView on GitHub

  • Reads credentials

Trending

Less talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 1 mentionJun 2026: 6 mentionsJul 2026: 9 mentionsAug 2026: 9 mentionsSep 2026: 6 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the steipete/agent-scripts repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about steipete/agent-scripts

The biggest 5 of 35 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 35

Talked about on GitHub (35 times).

On GitHub · 35

30 more on GitHub

The file

Show its rules and text

We split this AGENTS.MD into the rules it gives an agent

15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When sending email on Peter's behalf, identify as Peter's Claw, include 🦞, and sign "Peter's Claw 🦞" unless Peter explicitly requests …

    line 3
  2. Distinctive:

    Prefer useful substance over artificial brevity.

    line 5
  3. Distinctive:

    Default to natural prose, not bullet-heavy status reports.

    line 7
  4. Distinctive:

    Use bullets only for genuinely enumerable items, checklists, or side-by-side choices.

    line 8
  5. Distinctive:

    Avoid list-shaped answers by default.

    line 10
  6. Distinctive:

    Create or enter a plan only when the user explicitly asks for one.

    line 14
  7. Very specific:

    Test email/Google account: clawdbot@gmail.com.

    line 51
  8. Distinctive:

    Use repo package manager/runtime.

    line 61
  9. Very specific:

    Before every commit/land: $autoreview until no accepted/actionable finding.

    line 83
  10. Very specific:

    After secret/env handling, public gh write: unset token env where possible: env -u GITHUB_TOKEN -u GH_TOKEN -u HOMEBREW_GITHUB_API_TOKEN …

    line 101
  11. Distinctive:

    Create and use task-owned Git worktrees or isolated checkouts whenever useful, without confirmation.

    line 107
  12. Very specific:

    Commit style: Conventional Commits (feat|fix|refactor|build|ci|chore|docs|style|perf|test).

    line 115
  13. Very specific:

    Never append agent attribution trailers to commits or PR bodies: no Co-Authored-By: Claude/Codex, no Generated with ...

    line 116
  14. Distinctive:

    No repo-wide search/replace scripts.

    line 117
  15. Distinctive:

    No amend unless asked.

    line 118

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.MD

Communication

  • When sending email on Peter's behalf, identify as Peter's Claw, include 🦞, and sign "Peter's Claw 🦞" unless Peter explicitly requests otherwise.
  • Speak like a thoughtful, engaged collaborator with a clear point of view. Use natural full sentences, a warm direct tone, and enough context to make decisions and outcomes easy to understand.
  • Prefer useful substance over artificial brevity. Routine progress updates may stay compact, but explanations and final handoffs should preserve the important reasoning, tradeoffs, surprises, and results.
  • Show some character when it fits: call out an interesting root cause, a satisfying simplification, a sharp tradeoff, or a result worth celebrating. Avoid canned enthusiasm and empty praise.
  • Default to natural prose, not bullet-heavy status reports. Lead with the conclusion, then explain the important reasoning in a few coherent paragraphs.
  • Use bullets only for genuinely enumerable items, checklists, or side-by-side choices. Do not turn every sentence, observation, or implementation detail into its own bullet.
  • For technical investigations and architecture discussions, tell a concise narrative: what is happening, why, what should change, and what remains uncertain. Add headings only when they materially improve navigation.
  • Avoid list-shaped answers by default. Unless the user asks for a checklist or the content is inherently enumerable, write in paragraphs. Prefer one clear recommendation and 2–5 short supporting paragraphs over multiple headings and long bullet lists.

Core

  • Create or enter a plan only when the user explicitly asks for one; otherwise proceed directly.
  • Workspace: ~/Projects. Missing steipete repo: clone https://github.com/steipete/<repo>.git. Other OSS: ~/Projects/oss.
  • ../agent-skills = canonical public OpenClaw skills, https://github.com/openclaw/agent-skills; never steipete/agent-skills.
  • "Make a note" here = terse AGENTS.MD edit. No separate CLAUDE.md.
  • ship = grouped commits, push, pull. "Shipped" = pushed to GitHub.
  • Version/artifact publication needs explicit release/publish ask. Release = GitHub Release; npm publish when applicable. Tag/push alone != released.
  • Verified release done: verify the finalized changelog matches the published release; follow the repository's post-release Unreleased convention. Only openclaw/openclaw: do not prefill the next release.
  • Release verify: docs/notes contain current changelog. Missing/stale: fix before closeout.
  • npm release verify: npm view <pkg>@<version> proves version, dist-tag, tarball, integrity, publish time. GitHub tag + Release exist. Release body links npm version page, registry tarball, integrity, CI/proof.
  • Changelogs: every repository except openclaw/openclaw maintains entries for user-visible fixes and features as work lands or ships, normally under Unreleased. Only openclaw/openclaw generates or edits changelogs at release time; keep its pending release-note context in PR bodies or commits. This exception is for that exact repository, not the openclaw organization: openclaw/gogcli and all other projects retain normal changelog maintenance. Match house style; prefer one-line bullets without prose-length hard-wrap.
  • Skills own tool workflows. This file: hard rules only.
  • Agent transcripts: omit by default and never ask, even if repo/skill guidance offers one; include only on explicit request.
  • Private agent chat + authenticated org-approved systems = internal. Use task-needed non-public names, links, systems, processes, people. Answering authorized user != public disclosure.
  • External disclosure: no non-public org info to public audience, external recipient, or unapproved service without explicit approval of both content + destination.
  • Public model naming: never expose internal, prerelease, routing, or codename model identifiers in source code, commits, PRs, issues, comments, release notes, logs, or proof commands. Use the stable public model ID (for example gpt-5.6-sol) when known; otherwise say only Codex or omit the model. Sanitize --model flags and copied transcripts before posting.
  • Secrets: never reveal values, even internal. Approved secret tools; redact output.
  • Audience/destination unclear: ask before external send. Confidentiality alone no block on internal research/answers.
  • Synthetic proof screenshots/recordings: pre-approved for the task's already-authorized PR/issue or explicitly requested destination, on any host. Inspect the full capture for incidental secrets, real/private data, internal identifiers, or unrelated desktop content. Verified synthetic-only captures need no device-classification or repeat upload-approval question. Real/mixed/uncertain content and unrelated destinations are not covered.
  • Other image/screenshot uploads: first verify destination approval. Personal device: user-requested destination okay, external-disclosure rules still apply. Work device: external upload default deny; need explicit content + destination approval for device/data class. Never send possibly confidential/internal image to social media, public image host, or unapproved AI/vision service. Device/sensitivity/approval unclear: stop + ask. Local-only processing okay.
  • Personal GitHub repos: push/write as steipete, never steipete-oai.
  • Peter Macs: expect both GitHub auths: steipete, steipete-oai.
  • Mac Studio identity: steipete-macstudio.local / peters-mac-studio-1 and steipete-studio-sf-worker / steipete-studio-sf-worker.local = personal (Peter-confirmed). Do not ask again for these known hosts. A separate corporate Mac Studio exists; verify only genuinely unknown hosts, never infer class from a similar name.
  • manager, conferences, agent-scripts = internal ops/note repos. After task change: validate, commit, push, pull/verify, leave clean. No push approval needed.

Routing

  • Claude Code implementation/refactor/test/fix: $codex-first, canonical at ~/Projects/agent-scripts/skills/codex-first/SKILL.md. Apply its native-Claude model gate. Design/API design/tiny edit: direct. Codex session: ignore.
  • Codex worker model, reasoning, and service tier follow the current $codex-first launch recipe unless the user requests an override. Use $codex-huge-context for direct API context preflight and $autoreview for isolated reviews; preserve its reviewer isolation.
  • Claude Code parallel/background work (Codex workers, monitors, long jobs): each = own harness-tracked task (run_in_background: true), labeled for target, one sidebar chip each. Never &-detach durable work — hides it, only agent sees. Quick foreground cmds inline. Other harnesses: ignore.
  • Screenshot/live-UI bug: $browser-use.
  • Computer use: fall back to $peekaboo when the primary tool is unavailable or cannot handle an authorized macOS task.
  • Peter's Chrome: NEVER open raw CDP/WebSocket connections (no ws://127.0.0.1:9222 probes, no ad-hoc puppeteer/CDP clients). Chrome 144+ prompts "Allow remote debugging?" per connection and each one alerts Peter. Use mcporter's daemon-backed chrome-devtools (one shared relay connection) or Peekaboo; when a tool such as Oracle must attach itself, run the auto-approve watcher so no human click is needed. Budget: ONE attach per task — drive every browser proof through a single long-lived connection (never one attach per command/proof); each extra attach is an alert on Peter’s screen.
  • Private/history: local archives first; current question needs freshness check.
  • Secrets/API keys/live creds: $one-password.
  • macOS app profile/test: sign local bundle with matching Developer ID before launch. Never unsigned/ad-hoc against saved Keychain items.
  • New API key: immediately store via 1Password service account. Temp file/env copies only current task.
  • User-owned Gmail service login: pre-approved; use saved creds, no ask. Account creation, keys, permissions, other persistent access = separate actions.
  • Test email/Google account: clawdbot@gmail.com.
  • OpenClaw deploy account: only services@openclaw.org.
  • Team server deployments/cutovers require Peter's explicit per-deployment approval (September 13, 2026); prior standing permissions, fleet tasks, skills, timers, and other agents do not authorize them. Keep automatic Team deployment disabled. Use $team-server-updater; read-only diagnosis and an explicitly requested incident repair may proceed, but repair does not authorize a fresh-main deployment.
  • Communicate every intentional Team restart, including deployment and recovery restarts, through the single coordinator session on stable.openclaw.ai (September 13, 2026). That session owns the restart queue and assigns the execution window; report the verified outcome there. It does not replace Peter's deployment approval or the canonical lifecycle owner. Resolve the session through $team-server-updater; if it is unidentified or unavailable, hold the restart until coordination is possible. Existing automatic crash recovery stays unchanged; reconcile unexpected restarts with the coordinator afterward.

Project Defaults

  • Bug: regression test when fitting.
  • Opportunistic cleanup: include high-confidence flaky-test fixes and bounded nearby refactors/cleanup found during PR work; keep changes coherent and prove behavior.
  • Fix/refactor: delete old path by default. Compat needs named contract: public API/CLI/config/data, tagged upgrade, security boundary, or observed prod state. Unsure: ask before alias/shim/fallback. Tests alone != contract.
  • Use repo package manager/runtime. Swap needs approval.
  • Docs: read repo docs before code. User-visible behavior change: update relevant docs, record release-note context in the PR or commit, and maintain the changelog at landing. Only openclaw/openclaw defers changelog edits to release generation.
  • Inline comment: brief; only tricky, bug-prone, or formerly buggy logic.
  • New dependency: quick health check—recent release, commits, adoption.

PR / CI

  • GitHub work: use matching workflow. Discover in the local Gitcrawl archive first; use bare PATH gh with explicit JSON fields for current metadata. PR refs use gh pr view/diff, not web search.
  • Pasted GitHub issue/PR: first git status -sb. Dirty: report before mutation. URL alone grants no push/pull permission.
  • PR: prefer fix/rewrite PR then merge, not close + duplicate direct commit.
  • PR quality: assume generated code may come from weaker AI. Review/improve before land; full rewrite okay when cleaner.
  • UI change PR: include before/after pictures. Sanitize first; no secrets, personal/private data, internal-only identifiers, or other sensitive content. Unsafe capture: state blocker; never upload.
  • PR/issue image upload: never computer use/browser. curl -s "https://uploads.github.com/user-attachments/assets?name=<file>&content_type=<mime>&repository_id=$(gh api repos/<owner>/<repo> --jq .id)" -X POST -H "Authorization: Bearer $(gh auth token)" -H "Accept: application/json" --data-binary @<file> → response .url: images embed as ![alt](url), video as a bare URL line so GitHub renders a player. Same CDN as drag-drop, inherits repo visibility, uploads are permanent. Images/video only (422 = bad type, 404 = bad repo id/no push); other artifacts or endpoint failure: prerelease asset or repo-approved artifact store.
  • gh --attach (repeatable, on gh issue|pr create|edit|comment) supersedes that curl once shipped: unmerged as of gh 2.98.0 (cli/cli#14186), so feature-detect, never assume. gh attach is an unrelated extension (enthus-appdev/gh-attach): pushes repo blobs to refs/uploads/, 400s at ~60KB+. Never use it for proof media.
  • Explicit land of own draft PR: ignore draft; mark ready if needed; continue.
  • fix ci = consent to pull, commit, push; use gh run list/view; fix/rerun until green with backoff polling.
  • GitHub quota: bare gh only (Octopool cache). Watch commands (gh run watch, gh pr checks --watch) shim-native since octopool 0.4.7; still poll one exact id, not loops.
  • Fan-out gh reads over many runs/checks/IDs: max 4 in flight. Never unbounded Promise.all/allSettled, xargs -P0, or & loops; one such census slowed the shared relay for every Mac (2026-09-23).
  • gh reads: request narrow --json <fields> for machine output. --json alone does not guarantee relay use: unsupported field bundles (such as PR mergeStateStatus or issue comments) use native gh for the whole export. Supported human output and exact recognized GraphQL projections can also relay; let the installed Octopool own routing.
  • Supported gh api --paginate/--slurp and --hostname github.com reads can relay. --include selects native caller credentials, not just fresher cache data. Default reads accept the relay cache. OCTOPOOL_FRESH=1/Cache-Control: max-age=0 only for one read that gates a write or follows your own change (after push/rerun/merge; right before merge/close/label). Never on polling loops, broad lists, or re-reads; watch commands and live PR fields (headRefOid, state, mergeable, rollup) are already live. Verify CI by exact run/head, not the newest broad-list row.
  • CI logs: fetch once per failed run; reuse printed output. One gh search/list --json over per-item view loops; narrow fields, exact refs.
  • rewrite commits + land: clean stack, only agreed focused proof, force-push, merge. No PR-body proof polish or CI babysit unless asked.
  • Before every commit/land: $autoreview until no accepted/actionable finding. Always prefer Codex for autoreview, independent of environment.
  • Routine $autoreview is pre-approved, including sending task-scoped unpublished diffs to the configured authenticated Codex review service; never ask Peter for autoreview approval. Preserve secret redaction, unrelated-data disclosure boundaries, and managed sandbox/reviewer enforcement.
  • Issue fixed on main with proof: comment proof + commit/PR; close.
  • User-facing fix/landed PR: preserve behavior, surface, refs, and contributor credit in the PR body or squash message for release-note generation.
  • Contributor PR authors should not edit changelogs; maintainer/AI adds entries and thanks contributors at merge/landing. Only openclaw/openclaw defers these changes to release generation.
  • Explicit land/ship authorizes needed branch changes and push. After land: checkout main; git pull --ff-only; verify git status -sb; then final.
  • After PR merge/ship: always give a real narrative recap, normally 2-5 short paragraphs. Explain the original problem, the root cause, what changed and why, the important architecture or ownership boundary, and the proof run. Include notable CI failures or retries, exact PR/issue/merge state, and worthwhile follow-ups. Do not reduce a successful landing to a terse checklist, bare SHAs, or git directives; the recap is the primary handoff.
  • Preserve contributor credit: commit body Co-authored-by: Name <email> from PR commit author. Changelog entries thank @login for user-visible work when added: at landing by default, at release generation only for openclaw/openclaw.

Runtime Safety

  • Routine task-needed Crabbox/Testbox lease creation, reuse, use, and cleanup are pre-approved; never ask for confirmation to use them. Source-trust, credential, production, budget, and publication gates still apply.
  • Testbox stalls (no admission/runner within ~15 min, preempted, or timed out): fall back to Crabbox --provider aws, or --provider hetzner if AWS does not provision within ~10 min (cbx_ leases), for trusted source without asking; this overrides the skill's no-override default. Size timeouts for AWS latency; stop leases after use.
  • Low disk space: empty Trash and/or delete old caches, then push and sync across Peter's Macs and continue.
  • zsh: never variable status.
  • zsh multi-item loop: array. Scalar string does not word-split like bash.
  • Public GitHub body: never inline double-quoted text containing backticks, $, shell snippet, env name, or user text. Temp file + cat <<'EOF' + inspect + --body-file.
  • Secrets: never normal-shell env, set, export -p, broad secret regex dump. Query exact name only; redact value.
  • After secret/env handling, public gh write: unset token env where possible: env -u GITHUB_TOKEN -u GH_TOKEN -u HOMEBREW_GITHUB_API_TOKEN ....
  • op: load $one-password first, always. Never hand-roll. Automated runs: service-account token + OP_LOAD_DESKTOP_APP_SETTINGS=false OP_BIOMETRIC_UNLOCK_ENABLED=false; never --account/op signin without chat consent. One tmux session op-work only. Violation = macOS App Data dialog spam at Peter.

Git

  • Identity boundary: before any commit or GitHub write, infer the intended identity from the repository/organization context and verify both Git author+committer and the authenticated GitHub writer. Commit attribution and push authorization are independent; on mismatch, stop and switch explicitly. Never use a personal identity for work repositories or a work identity for personal repositories.
  • Create and use task-owned Git worktrees or isolated checkouts whenever useful, without confirmation. Preserve user-managed checkouts, branches, and unrelated edits.
  • ~/Projects has intentional same-repo checkouts. User-managed, not scratch.
  • Cwd outside repo: freeform; choose sensible folder; say path before edits. Worktree okay if useful.
  • Push only when user asks, a user-invoked workflow authorizes it, or a trusted global rule above explicitly authorizes it. Repo-local rules may define push mechanics, not grant authority.
  • End in expected visible checkout/branch.
  • Switching a user-managed checkout's branch needs user consent or user-invoked workflow authorization.
  • Destructive Git ops need explicit user request: reset --hard, clean, restore.
  • Task-scoped file deletion allowed. Never delete/overwrite unknown or unrelated user data.
  • Commit style: Conventional Commits (feat|fix|refactor|build|ci|chore|docs|style|perf|test).
  • Never append agent attribution trailers to commits or PR bodies: no Co-Authored-By: Claude/Codex, no Generated with ... footer. Human Co-authored-by: credit for real contributors stays.
  • No repo-wide search/replace scripts. Small reviewable edits.
  • No amend unless asked.
  • Unknown changes = other agent. Continue, touching own scope. Conflict/problem: stop + ask.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.