Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add AmineDjeghri/personal-os-setup --skill git-line-endingsgit clone --depth 1 https://github.com/AmineDjeghri/personal-os-setupWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aminedjeghri/personal-os-setup/git-line-endings)<a href="https://agentmods.dev/skills/aminedjeghri/personal-os-setup/git-line-endings"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/git-line-endings/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aminedjeghri/personal-os-setup/git-line-endings"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/git-line-endings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.00918 |
| Opus 5.5 | $0.00008 | $0.00367 |
| Sonnet 5.5 | $0.00004 | $0.00184 |
| Haiku 4.5 | $0.00002 | $0.00092 |
Grade A, and why
git-line-endings scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Line Endings (.gitattributes / CRLF-LF normalization)
Fix repos where line-ending contamination makes small edits diff whole files. Cross-platform repos (Windows tools writing CRLF into Linux-maintained files) hit this repeatedly.
Diagnose first — never guess
git ls-files --eolis authoritative: per tracked file it shows index/worktree endings (i/lf w/lf,i/crlf,i/mixed). Contaminated blobs =git ls-files --eol | grep -E 'i/(crlf|mixed)'.- Do NOT byte-scan working-tree files (od/python open) to judge blob state — confusing.
--eolsettles it. - A clean
git statusproves NOTHING: blobs can be consistently CRLF, ortext=autosilently tolerates CRLF worktrees that round-trip clean.
Root cause (the WHY)
.gitattributes governs future commits only — it never rewrites existing blobs. Adding or editing it leaves legacy CRLF/mixed blobs untouched until a renormalize. Symptom: the first edit that writes LF lines into a legacy-CRLF file normalizes the whole file at commit → entire-file diff for a one-line change.
Fix — normalize once, per repo
- Sync the base first: fetch, then
git switch main(the checkout may sit on an unrelated feature branch) andgit pull --ff-only. - Branch
chore/normalize-line-endingsand commitchore: normalize line endings to LF—chore:keeps semantic-release repos from bumping on non-user-visible maintenance. - Author/extend
.gitattributes—* text=auto;eol=lffor shell scripts and CI workflow files;eol=crlfONLY for Windows-runtime extensions that actually exist in the repo (.bat/.cmd/.ps1/.reg). Repos without any.gitattributesget the full file. git add --renormalize .— stages only blobs whose content actually changes; a pure EOL swap shows equal insertions/deletions in--stat.- Force the worktree to LF too:
git checkout-index -f --all— renormalize updates the index but disk copies can stay CRLF, so editors keep tripping. - Verify before commit:
git ls-files --eol | grep -E 'i/(crlf|mixed)'→ empty output. - Commit, then the repo's normal branch → PR flow (squash-merge repos use the PR title as the commit message).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 18d ago Changed · +3 lines af25b23a9098
- 27d ago First seen · 43 lines · 20 tokens per session scan A 3c15e0598f7b
git-line-endings is a skill published in the GitHub repository AmineDjeghri/personal-os-setup (654 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 918 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.
Other skills, from other repositories
hula-skill
HuLa project skill for frontend (Vue 3 + Vite + UnoCSS + Naive UI/Vant), backend (Tauri v2 + Rust + SeaORM/SQLite), full-stack flows, and build/release work. Use when the user mentions hula or HuLa or requests changes in this repository; after triggering, ask which scope (frontend/backend/fullstack/build-release) to…
commit-push-pr
Commit, push, and open a PR.
github-auth
GitHub auth setup via gh CLI, SSH keys, HTTPS PATs.
github-pr-workflow
Pull request lifecycle: create, review, merge, manage (gh CLI).
github-repo-management
GitHub repos: create, clone, fork, archive (gh CLI + git).
flow-launcher
Build Flow Launcher plugins with C# or Python JSON-RPC, configure plugin manifests, and integrate Everything search.