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 agentmods add instructions/arifszn/gitprofile/agents-mdgit clone --depth 1 https://github.com/arifszn/gitprofileWhat 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 | $0.01201 | $0.01201 |
| Opus 5 | $0.00600 | $0.00600 |
| Sonnet 5 | $0.00240 | $0.00240 |
| Haiku 4.5 | $0.00120 | $0.00120 |
Grade A, and why
gitprofile AGENTS.md 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 2d 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Guidance for AI coding agents working in this repository.
What this project is
GitProfile is a fork-first portfolio template. It builds a portfolio site from a GitHub username: the profile, avatar, bio and repositories are fetched from the public GitHub API at runtime, so there is no database and no backend.
Most people arrive here by forking the repo and deploying it to GitHub Pages. Assume that is the task unless told otherwise.
Customizing a portfolio: edit one file
gitprofile.config.ts is the only file that needs to change to customize a portfolio. Do not edit anything under src/ to change someone's name, links, jobs, skills or projects — every one of those is a config value.
github.username is the only required option. Every other section can be left empty or as an empty array, which hides that section from the rendered page.
The base option is the most common source of breakage
base must match the deployment target, or the site builds fine and then loads without CSS or JavaScript:
- Deploying to
https://<USERNAME>.github.io→base: '/' - Deploying to
https://<USERNAME>.github.io/<REPO_NAME>→base: '/<REPO_NAME>/'(leading and trailing slash) - Deploying to Vercel, Netlify or a custom domain →
base: '/'
It is read by vite.config.ts, not by the React app, so a change to it only takes effect on rebuild. Note that base is deliberately absent from the SanitizedConfig interface for this reason.
Layout
| Path | What lives there |
|---|---|
gitprofile.config.ts |
All user-facing configuration |
src/components/gitprofile.tsx |
Root component; GitHub API calls and data fetching |
src/components/*/ |
One folder per portfolio section (avatar, skills, experience, …) |
src/interfaces/sanitized-config.tsx |
The config schema, as TypeScript interfaces |
src/utils/index.tsx |
getSanitizedConfig() — applies defaults and validates config |
src/constants/default-themes.tsx |
The list of selectable themes |
src/assets/index.css |
Tailwind and daisyUI setup, plus custom themes |
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.
- 2d ago First seen · 83 lines · 1,201 tokens per session scan A e2279446cde9
gitprofile AGENTS.md is an instructions file published in the GitHub repository arifszn/gitprofile (2,302 stars, last pushed yesterday), licensed MIT. It adds 1,201 tokens to every session, about $0.0060 per session on Opus 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-08-30.
Other instructions, from other repositories
karngyan.com CLAUDE.md
Instructions for karngyan/karngyan.com, covering claude.md, commands, architecture, conventions and recipes.
personal-site AGENTS.md
Instructions for mldangelo/personal-site, covering agents.md, quick commands, project structure, code style and git workflow.
devportfolio CLAUDE.md
Instructions for RyanFitzgerald/devportfolio, covering claude.md, project overview, tech stack, development commands and architecture.
personal-site CLAUDE.md
Instructions for mldangelo/personal-site, a project described as: My personal website - built with Next for Static-Export, and GitHub Pages.
NextWeb4.github.io AGENTS.md
AGENTS.md instructions for NextWeb4/NextWeb4.github.io, covering agents.md, 1. project structure, 2. run commands, 3. test commands and 4. build commands.
ikuyo AGENTS.md
AGENTS.md instructions for haikelz/ikuyo, covering ikuyo agent guide, start every request here, read-only requests, change requests and repository map.