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 humanerd-drew/opencode-drewgent --skill rename-drewgentgit clone --depth 1 https://github.com/humanerd-drew/opencode-drewgentWrote 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/humanerd-drew/opencode-drewgent/rename-drewgent)<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/rename-drewgent"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/rename-drewgent/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/humanerd-drew/opencode-drewgent/rename-drewgent"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/rename-drewgent.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.00029 | $0.00688 |
| Opus 5.5 | $0.00012 | $0.00275 |
| Sonnet 5.5 | $0.00006 | $0.00138 |
| Haiku 4.5 | $0.00003 | $0.00069 |
Grade A, and why
rename-drewgent 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 3mo 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.
What it actually says
Rename {{AGENT_NAME}}
Replace all "{{AGENT_NAME_LOWER}}" references across the repo with your own agent name.
Convention
<yourname>gent — e.g., {{AGENT_NAME_LOWER}} → alexgent, saragent, devgent.
Usage
bash ~/.{{AGENT_NAME_LOWER}}/scripts/rename-{{AGENT_NAME_LOWER}}.sh "alexgent"
The script must:
- Replace
{{AGENT_NAME_LOWER}}→<new_name>in all.md,.py,.json,.jsonc,.yaml,.yml,.sh,.js,.htmlfiles (case-insensitive for filename patterns, case-sensitive for code references) - Rename
~/.{{AGENT_NAME_LOWER}}→~/.<new_name>gent(symlink or move) - Update paths in
opencode.jsoncandAGENTS.md - Update the frontmatter
titlefields where "{{AGENT_NAME}}" appears as a project name - Keep
DREW_HOMEenv var or rename to<NAME>_HOME
What It Replaces
| Pattern | Example → New |
|---|---|
| Directory name | ~/.{{AGENT_NAME_LOWER}}/ → ~/.alexgent/ |
| Config paths | ~/.{{AGENT_NAME_LOWER}}/skills → ~/.alexgent/skills |
| Env vars | DREW_HOME → ALEX_HOME |
| Project name | {{AGENT_NAME}} → Alexgent (capitalized) |
| Code references | {{AGENT_NAME_LOWER}} → alexgent in inline paths |
| Script headers | {{AGENT_NAME}} agent system → Alexgent agent system |
| opencode.jsonc | skill paths, MCP paths |
| AGENTS.md | all references |
What It Does NOT Replace
- The
opencodeCLI name (kept as-is) - External project names (opencode, gbrain, lazyweb)
- Git remote URLs (must be changed separately)
Verification
After running, verify:
# No remaining old name
grep -r "{{AGENT_NAME_LOWER}}" ~/.alexgent/ --include="*.md" --include="*.py" --include="*.json" --include="*.jsonc" 2>/dev/null | head -5
# Should return nothing
# opencode loads correctly
opencode --version
# Config paths resolve
ls ~/.alexgent/opencode.jsonc
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.
- 3mo ago First seen · 67 lines · 29 tokens per session scan A 7b508195dbd6
rename-drewgent is a skill published in the GitHub repository humanerd-drew/opencode-drewgent (3 stars, last pushed 4mo ago), licensed MIT. It adds 29 tokens to every session and 688 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-03.
rename-drewgent compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rename-drewgenthumanerd-drew/opencode-drewgent | Skill | 3 | 4mo ago | MIT | A | 29 | Claude Code, Codex |
| large-file-buildPrismML-Eng/Bonsai-demo | Skill | 3.7k | 3d ago | Apache-2.0 | A | 18 | Claude Code, Codex |
| cad-reviewer-contractcrenshawdev/cadence | Skill | 11 | yesterday | MIT | A | 52 | Claude Code |
| code-refactoring-assistantArabelaTso/Skills-4-SE | Skill | 263 | 3mo ago | Apache-2.0 | A | 81 | Claude Code, Codex |
| scenario-generatorArabelaTso/Skills-4-SE | Skill | 263 | 3mo ago | Apache-2.0 | A | 78 | Claude Code, Codex |
| specification-generatorArabelaTso/Skills-4-SE | Skill | 263 | 3mo ago | Apache-2.0 | A | 79 | Claude Code, Codex |
| bug-localizationArabelaTso/Skills-4-SE | Skill | 263 | 3mo ago | Apache-2.0 | A | 77 | Claude Code, Codex |