croc
AGENTS.md41k starsChanged 3 months agoMITView on GitHub
Use Git for all version-control operations. When explicitly asked to push changes, use the repository workflow helper with a semantic/conventional commit message: For example, use messages such as fix: handle interrupted transfers or feat: add configurable relay timeouts. Do not run git push directly; the helper owns the commit, push, and pull-request workflow. GitHub Actions and release operations continue to use the GitHub CLI (gh) as documented below. Releases are prepared by the Prepare Release GitHub Actions workflow. Do not…
- Commits and pushes
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Use Git for all version-control operations.
- Distinctive: line 7
When explicitly asked to push changes, use the repository workflow helper with a semantic/conventional commit message:
- Very specific: line 29
Wait for every job to succeed.
- Very specific: line 38
Before publishing, verify that the workflow's native binary checks report both croc version X.Y.Z and croc-web version X.Y.Z for the …
- Distinctive: line 43
Run these commands from this repository.
- Very specific: line 69
If it fails, inspect it with gh run view "${RELEASE_RUN_ID}" --log-failed.
- Very specific: line 70
After correcting a transient problem, either run gh run rerun "${RELEASE_RUN_ID}" --failed or dispatch the same tag again.
- Very specific: line 74
After a successful run, verify that the release is a draft and contains 34 assets: 19 croc platform archives, the croc-web archive, the …
- Very specific: line 96
Use gh run watch RUN_ID --exit-status to follow the downstream run.
≈ “Common” is an estimate: at least 1 in 5 of the 36,368 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.
Files
Repository instructions
Version control with Git
Use Git for all version-control operations.
When explicitly asked to push changes, use the repository workflow helper with a semantic/conventional commit message:
~/dotfiles/git-pr '<commit message>'For example, use messages such as fix: handle interrupted transfers or
feat: add configurable relay timeouts. Do not run git push directly; the
helper owns the commit, push, and pull-request workflow.
GitHub Actions and release operations continue to use the GitHub CLI (gh) as
documented below.
Releasing croc
Releases are prepared by the Prepare Release GitHub Actions workflow. Do not create or move a release tag manually: source-based package managers such as Homebrew build the tagged source and require it to contain the release version.
- Open Actions → Prepare Release → Run workflow on the default branch.
- Enter a stable semantic-version tag such as
v11.2.5. - Wait for every job to succeed. The workflow stamps
src/version/version.go, commits it, creates the annotated tag, builds and signs all artifacts, and creates a draft GitHub release containing those artifacts and their checksums. - Review the generated notes and asset list, then publish the draft release.
Publishing the draft triggers the Docker workflow. A failed workflow may be rerun with the same tag while the release is absent or still a draft; the workflow rejects a mismatched tag or a release that has already been published.
Before publishing, verify that the workflow's native binary checks report both
croc version X.Y.Z and croc-web version X.Y.Z for the requested tag.
Command-line release with gh
Run these commands from this repository. The authenticated account must have permission to run Actions and publish releases:
gh auth status
gh repo view --json nameWithOwner,defaultBranchRefChoose the new stable tag, dispatch the release workflow against the default branch, and list the resulting run:
RELEASE_TAG=v11.2.5
gh workflow run release.yml --ref main -f tag="${RELEASE_TAG}"
gh run list --workflow release.yml --event workflow_dispatch --limit 5 \
--json databaseId,displayTitle,status,urlThe run's display title is Prepare vMAJOR.MINOR.PATCH. Copy its databaseId
from the list and wait for it to finish:
RELEASE_RUN_ID=123456789
gh run watch "${RELEASE_RUN_ID}" --exit-statusIf it fails, inspect it with gh run view "${RELEASE_RUN_ID}" --log-failed.
After correcting a transient problem, either run
gh run rerun "${RELEASE_RUN_ID}" --failed or dispatch the same tag again. A
rerun is permitted only while the release is absent or still a draft.
After a successful run, verify that the release is a draft and contains 34
assets: 19 croc platform archives, the croc-web archive, the source archive,
the twelve Linux DEB/RPM packages, and the checksum file.
gh release view "${RELEASE_TAG}" --json isDraft,url,assets \
--jq '{isDraft: .isDraft, url: .url, assets: [.assets[].name]}'
test "$(gh release view "${RELEASE_TAG}" --json isDraft --jq .isDraft)" = true
test "$(gh release view "${RELEASE_TAG}" --json assets --jq '.assets | length')" -eq 34Download the draft assets and run python3 packaging/release.py verify-assets --version "${RELEASE_TAG}" --artifacts DIRECTORY to validate their exact names and checksums.
Review the generated notes and asset names before publishing. Publishing is the point that triggers the Docker workflow:
gh release edit "${RELEASE_TAG}" --draft=false --latest
gh run list --workflow deploy.yml --limit 3 \
--json databaseId,displayTitle,status,conclusion,urlUse gh run watch RUN_ID --exit-status to follow the downstream run. Never use
gh release create or manually create or move the release tag with Git. The
Prepare Release workflow owns the version commit, tag, artifacts, and draft.
Trending
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about schollz/croc
- Practical IT with Jeremy Leik“Transfer Files Between Any Computer in Seconds”YouTube · Jul 24, 2026 · 63k views
- Better Stack“The Best File Transfer Tool You've Never Heard Of (croc)”YouTube · Jul 19, 2026 · 44k views
- Kishore Newton“croc - Send Files Between Any Two Computers Securely 📤 #shorts #coding #terminal”YouTube · Feb 11, 2026 · 1.9k views
- Forkcast“Send files between any two computers with a single command #sendfiles #filetransfer #opensource”YouTube · Jul 26, 2026 · 1.1k views
- MonBureauLinux“Croc transfert de données entre deux ordinateurs via le terminal”YouTube · Mar 17, 2023 · 754 views
The biggest 5 of 110 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 110
Talked about on GitHub, Bluesky, YouTube, Hacker News and the web (110 times).
On GitHub · 50
- Nov 22, 2025Fix: runpodctl send/receive "room (secure channel) not ready" error — runpod/runpodctl3 reactions · 1 comment
- Aug 18, 2025croc v1.11.5 hangs when trying to receive files — howeyc/crocgui3 reactions · 2 comments
- Dec 31, 2023[Feature]: Shorten one-time contact links with PAKE, similar to magic-wormhole or croc — simplex-chat/simplex-chat3 reactions · 9 comments
- Aug 30, 2023croc: new package — openwrt/packages2 reactions · 1 comment
- Aug 14, 2026croc: 11.0.1 -> 11.1.0 — NixOS/nixpkgs1 reaction · 3 comments
45 more on GitHub
- Jul 9, 2026croc: 10.4.6 -> 10.4.12 — NixOS/nixpkgs1 reaction · 4 comments
- Nov 22, 2025Fix receiver to use local croc implementation matching sender — acamq/runpodctl1 reaction
- Nov 20, 2025croc: 10.3.0 -> 10.3.1, install shell completions — NixOS/nixpkgs1 reaction · 2 comments
- Nov 11, 2024croc: 10.0.13 -> 10.1.0 — NixOS/nixpkgs1 reaction · 2 comments
- Dec 9, 2020Creat a Custom Banner Image for Calcipy — KyleKing/calcipy1 reaction · 3 comments
- Sep 3, 2020croc: 8.0.13 -> 8.3.0 — NixOS/nixpkgs1 reaction · 2 comments
- Oct 26, 2026build(deps): bump github.com/schollz/croc/v11 from 11.5.4 to 11.5.5 in /crocmobile in the go-deps group across 1 directory — bakirgdev/CrocApp0 reactions · 2 comments
- Oct 25, 2026Bump croc v11.5.2 → v11.5.5 — Dking08/croc-app0 reactions
- Oct 22, 2026Update croc to 11.5.5 — gominimal/pkgs0 reactions · 1 comment
- Oct 20, 2026croc 11.5.5 — amrkmn/homebrew-tap0 reactions
- Oct 19, 2026croc: 11.5.4 -> 11.5.5 — NixOS/nixpkgs0 reactions · 3 comments
- Oct 19, 2026croc 11.5.5 — amrkmn/homebrew-tap0 reactions · 1 comment
- Oct 19, 2026croc 11.5.5 — Homebrew/homebrew-core0 reactions · 1 comment
- Oct 12, 2026deps: bump github.com/schollz/croc/v10 from 10.5.0 to 10.7.0 in /crocmobile in the go-deps group — bakirgdev/CrocApp0 reactions · 1 comment
- Oct 12, 2026Research: open source landscape for local P2P file sharing — OpenSoftwareAlliance/drop0 reactions
- Oct 11, 2026croc: update to v11.5.4 — openwrt/packages0 reactions
- Oct 9, 2026test(croc): lock the wire format against silent breakage (CON-1718) — runpod/runpodctl0 reactions · 1 comment
- Oct 3, 2026croc: 11.5.3 -> 11.5.4 — NixOS/nixpkgs0 reactions · 3 comments
- Oct 2, 2026Candidate backlog: post-server applications, multilingual protocols and mesh systems — arran4/awesome-postserver0 reactions
- Sep 27, 2026Bump croc v11.5.2 → v11.5.4 — Dking08/croc-app0 reactions
- Sep 26, 2026croc 11.5.4 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 26, 2026croc 11.5.4 — amrkmn/homebrew-tap0 reactions
- Sep 20, 2026Bump croc v11.5.2 → v11.5.3 — Dking08/croc-app0 reactions
- Sep 13, 2026croc 11.5.3 — amrkmn/homebrew-tap0 reactions
- Sep 13, 2026croc 11.5.3 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 13, 2026update embedded croc to v11.5.2 — Marksdo/iCroc0 reactions · 1 comment
- Sep 9, 2026croc 11.5.2 — amrkmn/homebrew-tap0 reactions
- Sep 9, 2026croc 11.5.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 8, 2026croc 11.5.1 — amrkmn/homebrew-tap0 reactions
- Sep 8, 2026croc 11.5.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 7, 2026croc 11.5.0 — amrkmn/homebrew-tap0 reactions
- Sep 7, 2026croc 11.5.0 — amrkmn/homebrew-tap0 reactions · 1 comment
- Sep 6, 2026croc 11.5.0 — amrkmn/homebrew-tap0 reactions · 1 comment
- Sep 6, 2026croc 11.5.0 — amrkmn/homebrew-tap0 reactions · 1 comment
- Sep 6, 2026croc 11.5.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 3, 2026croc 11.4.0 — amrkmn/homebrew-tap0 reactions
- Sep 3, 2026croc 11.4.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Aug 30, 2026croc 11.3.6 — amrkmn/homebrew-tap0 reactions
- Aug 30, 2026croc 11.3.6 — Homebrew/homebrew-core0 reactions · 1 comment
- Aug 29, 2026croc 11.3.5 — amrkmn/homebrew-tap0 reactions
- Aug 28, 2026croc 11.3.4 — amrkmn/homebrew-tap0 reactions
- Aug 28, 2026croc 11.3.3 — amrkmn/homebrew-tap0 reactions
- Aug 24, 2026croc 11.3.0 — amrkmn/homebrew-tap0 reactions
- Aug 24, 2026croc 11.3.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Aug 19, 2026invalid format for codephrase database — 576576/FlCroc0 reactions · 2 comments
On Bluesky · 23
- Jun 24, 2026i just looked it up because you mentioned it and it looks amazing too! thanks for bringing it up. leaving the link here for anyone into… — @alienmelon.bsky.social46 likes and reposts
- Dec 31, 2025Croc est un outil écrit en Go et sous licence MIT permettant de transférer des fichiers d'un ordinateur à un autre de façon sécurisée avec… — @ponceto91.bsky.social21 likes and reposts · 2 replies
- Aug 11, 2025🔗 Liens utiles Croc : 👉 Le projet : github.com/schollz/croc 👉 En savoir plus : schollz.com/tinker/c... Aidez Croc ❤️ :… — @bearstech.com11 likes and reposts
- Apr 25, 2025`croc 3321-clara-speed-earth` — @futur.blue8 likes and reposts · 1 reply
- Nov 12, 2024I really love croc for data transfer: github.com/schollz/croc. Just `croc send file` and `croc code-phrase` and that's it. Any computer to… — @milescranmer.bsky.social5 likes and reposts
18 more on Bluesky
- May 4, 2026Happy to send them with this: github.com/schollz/croc — @jeffrgq.bsky.social4 likes and reposts · 1 reply
- Jun 13, 2026github.com/schollz/croc croc my beloved shoutout croc we love croc — @maya.likes.gock.lgbt3 likes and reposts · 1 reply
- Jul 15, 2025En Rop zelf vindt dit misschien interessant, maar het is een command line tool dus niet voor iedereen: github.com/schollz/croc — @ee1.nl3 likes and reposts
- Oct 7, 2025if you need something quick and dirty just do it over wifi github.com/schollz/croc — @awr.bsky.social2 likes and reposts · 3 replies
- Oct 3, 2025Un projet beaucoup trop cool — @bdecourson.bsky.social2 likes and reposts
- Oct 2, 2026croc (⭐️ 40505) Easily and securely send things from one computer to another :crocodile: :package: #go — @golangoss.bsky.social1 likes and repost
- Jul 19, 2026🎯 Custom relay, ports and code phrase can be persisted with --remember. github.com/schollz/croc — @michabbb.bsky.social1 likes and repost
- Jul 12, 2026Croc: Securely transfer files and folders between two computers https://github.com/schollz/croc/ — @hnbot.gsuscs.xyz1 likes and repost
- May 19, 2026croc (⭐️ 35079) Easily and securely send things from one computer to another :crocodile: :package: #go — @golangoss.bsky.social1 likes and repost
- Feb 25, 2026Sepertinya bakal stay pakai sendme buat kirim-kirim file secara gampang dari cli https://www.iroh.computer/sendme Alternatif lain ada croc.… — @adhisimon.kodesumber.com.ap.brid.gy1 likes and repost
- Oct 30, 2025I learned the croc command for the terminal a few days ago, and I've literally used it at least 10 times every day since.… — @kombiz.bsky.social1 likes and repost
- Jul 29, 2025tangential question: have you tried `croc`? webpage: schollz.com/tinker/croc6/ source: github.com/schollz/croc (works pretty well between… — @curche.xyz1 likes and repost · 1 reply
- Jun 11, 2025you might like croc, I use it in my home lab and for sending files to friends. requires no port forwarding or server setup… — @shibedrill.site1 likes and repost · 1 reply
- Nov 29, 2024croc better than magic wormhole just because its not python imo — @tired.moe1 likes and repost · 1 reply
- Sep 25, 2023Croc: Easily and securely send things from one computer to another Croc: コンピュータから別のコンピュータへ、簡単かつ安全に物を送る 🔺 288 💬 33 🔗 HN Post | Article — @hacker-news-jp.bsky.social1 likes and repost · 1 reply
- Jul 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 schollz / croc ⭐ 36,436 (+511) 🗒 Go Easily and securely send things from one computer to another 🐊… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Dec 10, 2025When you cannot use scp or rsync to transfer your file to a remote server, you can use github.com/schollz/croc — @adityamitra.bsky.social0 likes and reposts · 1 reply
- Jun 28, 2025it's 95g dunno if this'll even be faster than reexporting but croc 0451-fluid-saint-unicorn github.com/schollz/croc — @ceci.nest.pas.un.futur.blue0 likes and reposts · 1 reply
On YouTube · 18
- Jul 24, 2026Transfer Files Between Any Computer in Seconds — Practical IT with Jeremy Leik63k views · 336 comments
- Jul 19, 2026The Best File Transfer Tool You've Never Heard Of (croc) — Better Stack44k views · 241 comments
- Feb 11, 2026croc - Send Files Between Any Two Computers Securely 📤 #shorts #coding #terminal — Kishore Newton1.9k views
- Jul 26, 2026Send files between any two computers with a single command #sendfiles #filetransfer #opensource — Forkcast1.1k views
- Mar 17, 2023Croc transfert de données entre deux ordinateurs via le terminal — MonBureauLinux754 views · 2 comments
13 more on YouTube
- Oct 12, 2026Send Any File to Another Computer Free with croc — Git Tiger 639 views
- Jul 20, 2026CROC : The Best Open Source CLI Tool for Secure File Sharing — Codedigipt599 views · 6 comments
- Jul 23, 2026File Transfer With 3 Words — croc Is Fast, Free, Open Source — Prism Labs392 views
- Aug 18, 2026Take Control of Your File Transfers: Custom Croc Relays — Practical IT with Jeremy Leik349 views · 11 comments
- Jul 23, 2026croc: 파일을 안전하게 순간이동시키는 CLI — Repocast | GitHub 일일 브리핑278 views · 1 comment
- Jul 27, 2026croc: send files with one command #Shorts — PeterTamAI256 views
- May 2, 2026🔥 Why every dev is using Stop doing it the slow way. #Shorts — Nightly Bits255 views · 1 comment
- Dec 20, 2025GitHub - schollz/croc: Easily and securely send things from one computer to another :package: — GitHub Daily Trend AI Podcast196 views
- Jul 24, 2026Croc Architecture Analysis: How Secure File Transfer Bypasses NAT Without Cloud Storage — Alex Hitt182 views
- Jan 7, 2026e2ecp Review: End-to-End Encrypted Peer-to-Peer File Transfer Guide — Blueprint Bytes100 views
- Jan 29, 2026how to transfer file without Wi-Fi any computer hindi | croc tool — Khan4u Tech57 views
- Oct 13, 2020Gource visualisation: schollz/croc on 2020-10-13 — Gourcer21 views
- Jul 23, 2026WeTransfer Pro is DEAD — Try croc for $0 — DevTrends Daily2 views · 1 comment
On Hacker News · 14
- Sep 22, 2023Croc: Easily and securely send things from one computer to another300 points · 141 comments
- Sep 17, 2020Croc: Easily and securely send things from one computer to another150 points · 68 comments
- Jul 12, 2026Croc: Securely transfer files and folders between two computers52 points · 27 comments
- Sep 9, 2020Croc: Easily and securely send things from one computer to another6 points
- May 3, 2022Croc: Easily and securely send things from one computer to another4 points · 1 comment
9 more on Hacker News
- Sep 7, 2020Croc: Easily and securely send things from one computer to another4 points
- Apr 9, 2023Croc: Encrypted CLI File Transfer3 points
- Apr 25, 2018Show HN: croc – easily and securely transfer stuff between two computers3 points
- Oct 22, 2017Show HN: Croc – Golang port of magic-wormhole to easily send files to a friend3 points
- Nov 18, 2020Croc Needs Your Help2 points · 1 comment
- Sep 5, 2026You can use "croc SSH" to share a terminal (this replaces tmate)1 point · 1 comment
- Apr 18, 2021Croc 9.0.0 – easily and securely send things from one computer to another1 point
- May 19, 2020Easily and securely send things from one computer to another1 point
- Jul 14, 2019Easily and securely send files from one computer to another1 point
On the web · 5
- Oct 13, 2023--remember doesn't · Issue #622 · schollz/croc — google.com
- Apr 28, 2021UX regression for croc send --text · Issue #384 · schollz/croc — google.com
- Apr 15, 2021Handle stdin gracefully · Issue #365 · schollz/croc — google.com
- Oct 22, 2018Send multiple files · Issue #101 · schollz/croc — google.com
- Oct 9, 2018It's slower than scp · Issue #91 · schollz/croc — google.com
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 28,693 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

