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.
git clone --depth 1 https://github.com/cluesmith/codevWrote 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/commands/cluesmith/codev/forge)<a href="https://agentmods.dev/commands/cluesmith/codev/forge"><img src="https://agentmods.dev/badge/commands/cluesmith/codev/forge/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/commands/cluesmith/codev/forge"><img src="https://agentmods.dev/badge/commands/cluesmith/codev/forge.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.00000 | $0.01804 |
| Opus 5.5 | $0.00000 | $0.00722 |
| Sonnet 5.5 | $0.00000 | $0.00361 |
| Haiku 4.5 | $0.00000 | $0.00180 |
Grade A, and why
forge scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
"pr-diff": "curl -s https://gitea.example.com/api/v1/repos/owner/repo/pulls/$CODEV_PR_NUMBER.diff" How it starts
The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Forge Concept Commands
Codev uses forge concept commands to interact with your repository hosting platform. By default, all concepts use the GitHub CLI (gh). Projects using GitLab, Gitea, or other forges can override these commands.
Quick Start
Using a Provider Preset
Add to .codev/config.json:
{
"forge": {
"provider": "gitlab"
}
}
Available providers: github (default), gitlab (uses glab CLI), gitea (uses tea CLI), linear (uses the Linear API).
linear is a hybrid provider: it serves the issue concepts, and every PR concept deliberately falls through to the gh default, because the repository itself still lives on GitHub. Only team-activity and on-it-timestamps are disabled.
Note: Non-GitHub presets are best-effort. Their CLI tools may produce output schemas that differ from GitHub's JSON contracts. Codev handles this gracefully — concepts that return non-conforming JSON are treated as unavailable (null). If a preset command doesn't work correctly for your setup, override the individual concept with a command that produces the expected output.
Overriding Individual Concepts
{
"forge": {
"issue-view": "glab issue view \"$CODEV_ISSUE_ID\" --output json",
"pr-merge": "glab mr merge \"$CODEV_PR_NUMBER\" --yes"
}
}
Combining Provider + Overrides
Manual overrides take precedence over the provider preset:
{
"forge": {
"provider": "gitlab",
"issue-comment": "my-custom-comment-script $CODEV_ISSUE_ID \"$CODEV_COMMENT_BODY\""
}
}
Resolution order: manual override > provider preset > default (github).
Disabling Concepts
Set a concept to null to disable it. The feature that uses it will gracefully degrade:
{
"forge": {
"team-activity": null,
"on-it-timestamps": null
}
}
Concepts Reference
Core Issue/PR Operations
| Concept | Env Vars | Output | Description |
|---|---|---|---|
issue-view |
CODEV_ISSUE_ID |
JSON | Fetch issue details |
pr-list |
— | JSON array | List open PRs |
issue-list |
— | JSON array | List issues |
issue-comment |
CODEV_ISSUE_ID, CODEV_COMMENT_BODY |
— | Post issue comment |
pr-exists |
CODEV_BRANCH_NAME |
truthy/falsy | Check if PR exists for branch |
pr-create |
CODEV_PR_TITLE, CODEV_PR_BODY, CODEV_PR_BASE, CODEV_PR_HEAD, CODEV_PR_REPO, CODEV_PR_DRAFT |
JSON {number, url} |
Open a PR (title + body required — set the body to "" for none; rest optional. Gitea also reads CODEV_PR_LOGIN) |
pr-merge |
CODEV_PR_NUMBER |
— | Merge a PR |
pr-search |
CODEV_SEARCH_QUERY |
JSON array | Search PRs |
pr-view |
CODEV_PR_NUMBER, CODEV_INCLUDE_COMMENTS |
JSON or text | View PR details |
pr-diff |
CODEV_PR_NUMBER, CODEV_DIFF_NAME_ONLY |
text | Get PR diff |
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.
- 1mo ago Changed · +24 lines 4c191ddd8b36
- 1mo ago First seen · 187 lines · 0 tokens per session scan A d04716a283f6
forge is a command published in the GitHub repository cluesmith/codev (289 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,804 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
release-update
(dev-only) release-update maintainer harness — Claude Code upstream change tracker (release-notes version-delta sweep + docs sync). NOT distributed to user projects.
release
(dev-only) release maintainer harness — MoAI-ADK production release (git-flow: rc build on develop, release/vX.Y.Z cut from develop, PR to main, scripts/release.sh + GoReleaser, back-merge into develop). NOT distributed to user projects.
github
(dev-only) github maintainer harness — GitHub issue-fix and PR-review via gh CLI. NOT distributed to user projects.
gate
Dispatch the moai workflow gate with: $ARGUMENTS.
sync
Synchronize documentation, codemaps, and create pull request.
review-prs
Check open PRs for human feedback before picking new work.