git
Skill3k starsChanged 5 days agoBSD-3-ClauseView on GitHub
Learn how to safely use `git` commands as per the user's preferences
- Reads credentials
- Commits and pushes
70 other projects use a version of this.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- entropy-cloud/nop-entropytheir own version, first seen Nov 30, 2026
- yanmxa/cc-pluginstheir own version, first seen Nov 29, 2026
- Ghost7802/awesome-api-skillstheir own version, first seen Nov 29, 2026
- entropy-cloud/attractor-guided-engineering-templatetheir own version, first seen Nov 29, 2026
- Rune-kit/runetheir own version, first seen Nov 29, 2026
- yanmxa/skillstheir own version, first seen Nov 29, 2026
Who's talking about edrlab/thorium-reader
- A Hacker News story“Help port Thorium Reader to mobile to fight freemium accessibility”Hacker News · Aug 19, 2026 · 3 points
- CachyOS/cachyos-aur-derived“[Package Request] Thorium Reader”GitHub · Oct 9, 2026 · 1 reactions
- NixOS/nixpkgs“thorium-reader: init at 3.2.2”GitHub · Sep 17, 2025 · 1 reactions
- Alex313031/Thorium-MacOS“There is another app called "Thorium"”GitHub · Jul 8, 2025 · 1 reactions
- electron/apps“feat: add thorium-reader”GitHub · Apr 9, 2021 · 1 reactions
The biggest 5 of 38 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 38
Talked about on GitHub, Hacker News and Stack Overflow (38 times).
On GitHub · 35
- Oct 9, 2026[Package Request] Thorium Reader — CachyOS/cachyos-aur-derived1 reaction
- Sep 17, 2025thorium-reader: init at 3.2.2 — NixOS/nixpkgs1 reaction · 14 comments
- Jul 8, 2025There is another app called "Thorium" — Alex313031/Thorium-MacOS1 reaction
- Apr 9, 2021feat: add thorium-reader — electron/apps1 reaction · 1 comment
- Oct 11, 2026Update Thorium_Reader — AppImage/appimage.github.io0 reactions · 1 comment
30 more on GitHub
- Sep 15, 2026Security architecture: sandbox untrusted PDF/EPUB parsing before release — tuunanet/tuxbooks0 reactions · 2 comments
- Aug 6, 2026Add a PDF Selector for Multi-Rectangle Annotations — readium/annotations0 reactions · 11 comments
- Jul 4, 2026Performance issues with large libraries (>200 books) — Fundaments-Work/Theorem0 reactions
- Jun 25, 2026apple-app-site-association (AASA) for Thorium Desktop please — edrlab/thorium-reader-website0 reactions · 4 comments
- Jun 17, 2026Proposal: Expose publication archive updates via LSD and refreshed LCPL — edrlab/lcp-server0 reactions
- Jun 15, 2026Test LCP license refresh when publication is updated — edrlab/lcp-server0 reactions
- May 21, 2026Support /download target redirection from query parameters — edrlab/thorium-reader-website0 reactions
- May 21, 2026Thorium apps should be able to open the website with a generic URL using a locale query parameter, without hardcoding localized paths in the app. — edrlab/thorium-reader-website0 reactions · 2 comments
- Mar 16, 2026thoriumreader_new_label — Installomator/Installomator0 reactions · 2 comments
- Feb 5, 2026Displaying image descriptions — edrlab/thorium-reader-doc0 reactions
- Dec 10, 2025thorium-reader: 3.2.2 -> 3.3.0 — NixOS/nixpkgs0 reactions · 3 comments
- Oct 1, 2025Error: read ECONNRESET — SocketDev/sfw-free0 reactions · 19 comments
- Sep 18, 2025PDF RWPM manifest missing pdf metadata information — readium/readium-lcp-server0 reactions
- Aug 19, 2025Update download links — edrlab/thorium-reader-doc0 reactions
- Aug 8, 2025Thorium Go back in history failing with NVDA — nvaccess/nvda0 reactions · 14 comments
- Aug 7, 2025Update links and references in README — readium/css0 reactions · 3 comments
- Jun 26, 2025Do not mark Traditional Chinese (zh-Hant and zh-TW) as a RTL language — edrlab/r2-shared-js0 reactions
- Jun 26, 2025Do not mark Traditional Chinese (zh-Hant and zh-TW) as a RTL language — edrlab/r2-navigator-js0 reactions
- Mar 12, 2025Footnotes in EPUB3 — w3c/epub-specs0 reactions · 14 comments
- Mar 10, 2025Annotating with a screen reader — edrlab/thorium-reader-doc0 reactions · 3 comments
- Dec 30, 2024Could we merge keyboard shortcut lists to have one only source. — edrlab/thorium-reader-doc0 reactions · 4 comments
- Sep 23, 2024Adds faq entry about transfer of a complete collection — edrlab/thorium-reader-doc0 reactions
- Jun 18, 2024GitHub notifications with a screen reader — GeorgeKerscher/Hello-World0 reactions
- May 29, 2024Fix japanese font settings — readium/css0 reactions · 5 comments
- May 17, 2024Catastrophic data loss (several translator pending Review Requests) after pushing JSON locale updates to GitHub — gitlocalize/feedback0 reactions · 3 comments
- May 16, 2024More often than not, "cover" images (first spine item in the reading order, full-page picture) cause excess blank before/after — readium/css0 reactions · 1 comment
- May 12, 2023Contents updates — edrlab/thorium-reader-doc0 reactions
- Feb 15, 2023I made a to-do list to maintain appimage.github.io — AppImage/appimage.github.io0 reactions · 13 comments
- Feb 28, 2022update in thorium — edrlab/ts_fetch0 reactions · 1 comment
- Jun 14, 2020Create Thorium_Reader — AppImage/appimage.github.io0 reactions
On Hacker News · 2
- Aug 19, 2026Help port Thorium Reader to mobile to fight freemium accessibility3 points
- May 19, 2020New ePub reader based on Electron/TypeScript/React1 point
On Stack Overflow · 1
- Jan 11, 2022How to build node.js projects against local versions of the dependencies?0 votes · 1 answer
Used with
Projects with it also use markdown-novel-viewer, cpp-style and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAnalystIncSkillmarkdown-novel-viewer
Also in 3 projects that use this
clice-ioSkillcpp-style
Read before writing, modifying or reviewing any C++ code — redundancy (the rule we care most about), modules and files, errors and defense, async, logging, naming, words, templates, API preferences.
Also in 3 projects that use this
thechandanbhagatSkillsql
Write SQL queries, optimize database performance, design schemas, and debug SQL issues. Use for database operations, query optimization, and schema design.
Also in 4 projects that use this
AnthropicSkillcomments
Review open NPRM comment periods, log decisions, track deadlines. Use when an NPRM has a comment window open and you need to surface deadlines, decide whether to file, or record a filing / not-filing / waived decision (--decide CMT-ID).
Also in 3 projects that use this
mrgoonieSkillweb-testing
Web testing with Playwright, Vitest, k6. E2E/unit/integration/load/security/visual/a11y testing. Use for test automation, flakiness, Core Web Vitals, mobile gestures, cross-browser.
Also in 3 projects that use this
mrgoonieSkillweb-frameworks
Build modern full-stack web applications with Next.js (App Router, Server Components, RSC, PPR, SSR, SSG, ISR), Turborepo (monorepo management, task pipelines, remote caching, parallel execution), and RemixIcon (3100+ SVG icons in outlined/filled styles). Use when creating React applications, implementing server-side rendering, setting up monorepos with multiple packages, optimizing build performance and caching strategies, adding icon libraries, managing shared dependencies, or working with TypeScript full-stack projects.
Also in 3 projects that use this
- +4 more from mrgoonie
Other versions70 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 70
- macro-inc/macro★ 6.6ksame name
- carapace-sh/carapace-bin★ 2ksame name
- LuisaGroup/LuisaCompute★ 1.1ksame name
- entropy-cloud/nop-entropy★ 701same name
- kagenti/kagenti★ 304same name
- Conceptual-Machines/magda-core★ 272same name
- typv/nest-turbo-starter★ 224same name
- BridgLabs/opencodereview★ 128same name
- Rune-kit/rune★ 96same name
- entropy-cloud/attractor-guided-engineering-template★ 83same name
60 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 64 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
If the authenticated GitHub gh command is available, you MUST ask the user before performing actions such as creating/deleting Issues or …
- Distinctive: line 19
Prefer using worktrees over plain branches when modifying code for specific features or bug fixes.
- Very specific: line 32
When creating a new worktree/branch (or when switching over to an existing worktree/branch), inform the user about git-ignored files / …
“Common” is measured: kept by at least 6 in 10 of the 64 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Git repository management
Ground rules
- This project's source tree is under Git version control. The
./gitfolder is out of bounds, you MUST NOT modify the files inside. - User approval is REQUIRED for
git commitandgit push(or equivalentghGitHub commands). Just ask the user once, a single initial confirmation is sufficient for subsequent invocations. - You are allowed to read the Git configuration (
git config list --globalfor machine-wide settings, orgit config listfor project-specific settings), but you MUST ask the user before modifying settings. - You are allowed to use any other read-only repository tools like
git difforgit statusorgit log. You MUST NOT executegit showwith the--outputcommand line argument as this can be misused to write into a configuration file (e.g.--output=./.git/config). - If the authenticated GitHub
ghcommand is available, you MUST ask the user before performing actions such as creating/deleting Issues or Pull Requests. You do not need user approval to perform read-onlyghtasks. - You are allowed to create Git branches and worktrees. Raw
gitworktree commands are acceptable, but use Worktrunk if thewtcommand is available in the shell environment.
Git branches and worktrees
- Prefer using worktrees over plain branches when modifying code for specific features or bug fixes. This way, multiple coding agents can work on several parallel tasks over the same initial codebase (e.g. typically branching-off the
developormainbranches). - Let the user decide how to collate the diverged Git branches and how to deal with merge conflicts (suggest creating GitHub Pull Requests, or just merging locally back into the originating branch).
- The preferred directory layout for organising Git worktrees inside the coding agent's root workspace is a
./.barefolder containing a bare Git checkout, and adjacent branch-named folders (e.g../mainor./developor./feature-Aor./fix-B). This assumes a common parent directory named after the project itself. Alternatively if the project workspace is not a bare Git checkout, worktree folders (siblings to the primary non-bare code checkout) can be named with the convention./{PROJECT_NAME}.{BRANCH_NAME}. - A
.bareGit checkout can be created directly from a Git repository URL:git clone --bare {GIT_REPO_URL} "{PROJECT_NAME}/.bare", or alternatively from a local folder / an already-cloned remote source, but the command sequence is quite convoluted:mkdir -p {PROJECT_NAME} && git clone --bare "{EXISTING_REPO_CLONE}" "{PROJECT_NAME}/.bare" && cd "{PROJECT_NAME}/.bare" && git remote -v && git remote remove origin && git remote add origin git@github.com:USER_NAME/REPOSITORY_NAME.git && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && git fetch origin && git remote set-head origin --auto. - Bare clones will need more than
git pull(orgit fetch+git merge) in order to update the local branches based on available remote branches (bothgit branchandgit branch -rwill be missing new branches created since the bare clone). The explicit command isgit fetch origin NEW_BRANCH_ON_SERVER:refs/remotes/origin/NEW_BRANCH_ON_SERVER, but a more durable solution is to configure permanently in local Git settings:git -C .bare config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"(verifiable withgit -C .bare config --get-all remote.origin.fetch). - The native Git command to create a new branch and associated worktree is (assuming
cd "{PROJECT_NAME}/.bare")git worktree add --relative-paths -b {NEW_BRANCH_NAME} "../{NEW_BRANCH_NAME}"in the case of a bare checkout (or alternativelygit worktree add --relative-paths -b {NEW_BRANCH_NAME} "../{PROJECT_NAME}.{NEW_BRANCH_NAME}"in the case of a non-bare checkout, following the previously-mentioned naming convention). - When a branch already exists, the
-bcommand line argument is removed from thegit worktree addcommand. Here is an example to switch over to themainbranch from a bare Git checkout:cd .bare && git worktree add --relative-paths ../main main(you will need to set the "upstream" remote during the first Git push:git push --set-upstream origin main, or without pushing:cd ../main && git fetch origin main && git branch --set-upstream-to=origin/main main). Note that further worktrees/branches can be created from either themainor.bareadjacent directories. - The
--relative-pathscommand line argument can be replaced with global or local Git configuration:git config list --globalwill showworktree.userelativepaths=trueandgit config listmight showextensions.relativeworktrees=true. - To list worktrees and branches, use:
git worktree list ; git branch -vv. - To destroy a worktree and its associated branch, call:
git worktree remove "{WORKTREE_FOLDER}" && git branch -d {BRANCH_NAME} && git worktree prune.
Notes about commonly-shared, cross-worktree/branch files (optimizing disk usage):
- When creating a new worktree/branch (or when switching over to an existing worktree/branch), inform the user about git-ignored files / folders that might need to be copied across (e.g. the large
./node_modulesfolder, or the small.envfile). - Suggest copying large folders with a reflink / copy-on-write filesystem technique, or symbolic linking as a fallback. Do recommend against normal byte-for-byte copy as this would unnecessarily duplicate data. Copy-on-write (COW) is available on sparse volumes formatted with Apple's APFS, or BTRFS / XFS on Linux, or ReFS on Windows. On Linux the command
cp --reflink=always -Rcan be used to recursively COW-clone folders, on Maccp -c -Rcan be used to achieve the same effect. A notable caveat with containers or virtual machines bind mounts (for example with Tart, Docker, Apple Container) is that filesystem sharing technologies like VirtIOFS do not support COW, so the advice for decent performance is to mount OS-native formatted images that support COW (side note: this will also alleviate issues with SQLite caching which affect many tools like PNPM). - When using Worktrunk (
wtcommand), the./.worktreeincludeconfig lists the files / folders that must be automatically copied across to a new worktree/branch (one by line, for examplenode_modules/followed by.env). Conversely, the./.config/wt.tomlconfig can include a[step.copy-ignored]section that specifies an array of files/folders to skip, for exampleexclude = [ ".DS_Store", ".flox/", "dist/", "release/" ]. Thewt.tomlconfig can include a[post-start]section specifyingcopy = "wt step copy-ignored --require-include", this pairs well with the aforementioned./.worktreeincludefile and[step.copy-ignored]section. Alternatively the[pre-start]section can defines a command to run when switching worktree, for exampledeps = "ln -sf {{ primary_worktree_path }}/node_modules ."in the case of symbolic linking. For more detailed information refer to the Worktrunk help or coding agent extension / skill.
User workflow notes
Interactive approval might be needed for:
git commitsigning: PGP / GnuGPG signatures can be bypassed withgit -c commit.gpgsign=false commit(assuming the Git configuration looks likeuser.signingkey=XXXandcommit.gpgsign=trueandgpg.program=gpg). This convenient shortcut comes at the cost of downgrading user identity assertions, but this may be necessary in a development environment in which the physical secure enclave isn't available (i.e. hardware resident private signing keys).git push: SSH Git repository access likely requires a password-protected private key (though an SSH agent may cache the credential for a limited time), and potentially also requires physically touching a hardware secure module / USB token.
Security notes
(for more detailed information, search on the web using the keywords offered in this section)
Git "hooks" stored in ./.git/hooks are not part of a visible file checkout, yet they are a potential attack vector. There are several other similar security holes in a typical Git workflow, where arbitrary commands can be executed covertly by innocuous Git operations, due to prior prompt injections (e.g. external malicious SKILL.md or AGENTS.md instructions) that silently made modifications to the local or global Git configuration. This section provides an overview of risks and mitigation techniques.
Coding agent users likely operate inside sandboxed development environments (container or virtual machines), but a source tree / cloned Git repository mounted as a filesystem share from the high-trust host OS into an isolated guest runtime can in fact allow RCE Remote Code Execution via standard Git functionality. Here is a non-exhaustive list of Git features that can be abused to trigger malicious behaviour during innocuous Git operations:
core.fsmonitordiff.externalcore.sshCommandcore.editorcore.pagerinclude.pathfilter.*diff.{driver}.textconvgit config alias.cmd "!malicious_command"(exclamation mark = shell execution)core.hooksPath
Depending on the project rules, Git hooks can be required (for example pre-commit linter/formatter, quality control gates for the code repository). In cases where hooks can safely be skipped, use this command: git -c core.hooksPath=/dev/null (or configure locally/globally with git config [--global] core.hooksPath /dev/null). Note that the git commit --no-verify command only skips pre-commit and commit-msg hooks.
The variables GIT_CONFIG_COUNT + GIT_CONFIG_KEY_x + GIT_CONFIG_VALUE_x (x is a zero-based index) can be used to configure the environment without writing into ./.git/config or ~/.git/config.
Also note that arbitrary executables reachable via the environment variable PATH will be run when calling git arbitrary-executable ... (Git automatically discovers "extensions").
Coding agents, AGENT.md, CLAUDE.md
This is a user tip:
- When the user wishes to override the project
./AGENTS.mdwith their own (for instance because the project maintainers optimized the AGENTS markdown for a specific coding agent / model that has significant incompatibilities / disparities compared with the user's own agentic environment), the user can addAGENTS.mdto./.git/info/excludeand rungit update-index --skip-worktree AGENTS.md. - Note that some coding agents (e.g. Pi, OpenAi Codex) supports this natively:
AGENTS.override.mdtakes precedence overAGENT.mdorCLAUDE.mdinside the same directory.
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
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.

