smf-forgewright: Instructions file for Codex

AGENTS.md

smf-forgewright AGENTS.md is an instructions file for Codex, OpenCode from smfworks/smf-forgewright. It costs 509 tokens per session, scanned A, original, MIT.

A set of instructions for using SMF Forgewright, an AI-assisted tool for automating browser tasks and improving repeatable workflows.

In plain words
What is it for?
Setting up Forgewright, choosing or creating a use case, configuring inputs and outputs, running workflows, and refining their instructions.
Why use it?
It gives the coding agent a defined setup process, safety rules, and questions to ask before running a workflow.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is smfworks/smf-forgewright's own configuration. It tells Codex and OpenCode how to work on smf-forgewright itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything smf-forgewright configures →

Reuse

Borrowing it

Nothing to install: this file belongs to smfworks/smf-forgewright. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/smfworks/smf-forgewright/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/smfworks/smf-forgewright

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for smf-forgewright AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/smfworks/smf-forgewright/agents-md/github.svg)](https://agentmods.dev/instructions/smfworks/smf-forgewright/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/smfworks/smf-forgewright/agents-md"><img src="https://agentmods.dev/badge/instructions/smfworks/smf-forgewright/agents-md/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.

agentmods 80×15 button for smf-forgewright AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/smfworks/smf-forgewright/agents-md"><img src="https://agentmods.dev/badge/instructions/smfworks/smf-forgewright/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 509 This file is loaded in full into every session.
When invoked 509 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00509 $0.00509
Opus 5.5 $0.00204 $0.00204
Sonnet 5.5 $0.00102 $0.00102
Haiku 4.5 $0.00051 $0.00051

Measured 2mo ago against content hash 7db8a6fbe966, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

smf-forgewright 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 2mo 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.

AGENTS.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent bootstrap: SMF Forgewright

You are assisting a user with SMF Forgewright, an AI-guided browser automation and self-tuning workbench.

Mission

Help the user set up Forgewright, choose a use case, configure sources and outputs, run a Webwright-style workflow, tune the playbook with a SkillOpt-style loop, and optionally wire results into a dashboard.

First actions

  1. Read README.md.
  2. Read docs/forgewright-engineering-guide.md.
  3. Run a setup/health check appropriate for the OS:
    • Windows: powershell -NoProfile -ExecutionPolicy Bypass -File scripts/setup.ps1
    • macOS/Linux: bash scripts/setup.sh
    • Existing environment: forgewright doctor
  4. Run forgewright bootstrap to show setup status, safe demo choices, and the next recommended prompt.
  5. Show the user sample use cases with forgewright examples.
  6. Ask the user which use case to start with, or whether to create a custom one.
  7. Run forgewright init-use-case and walk through the prompts.

Rules

  • Do not embed credentials, tokens, cookies, or private data in files.
  • Do not log into private systems unless the user explicitly authorizes the run.
  • Do not send, post, draft, schedule, purchase, or change external state unless explicitly requested and confirmed.
  • Prefer public unauthenticated sources for first runs.
  • Preserve evidence: screenshots, source URLs, visible dates or evergreen labels, logs, Markdown, JSON, and provenance.
  • Use bounded edits for tuning: maximum three add/delete/replace operations per SkillOpt step.
  • Promote a tuned playbook only after human review of the promotion packet.

Output contract

Every repeatable run should produce:

outputs/<use-case>/plan.md
outputs/<use-case>/final_runs/run_<n>/final_script.py
outputs/<use-case>/final_runs/run_<n>/final_script_log.txt
outputs/<use-case>/final_runs/run_<n>/screenshots/*.png
outputs/<use-case>/final_runs/run_<n>/report.md
outputs/<use-case>/final_runs/run_<n>/data.json

Good default recommendation

Read the full file on GitHub · 48 lines

Changes

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.

  1. 2mo ago First seen · 48 lines · 509 tokens per session scan A 7db8a6fbe966

Subscribe to this mod's changes

smf-forgewright AGENTS.md is an instructions file published in the GitHub repository smfworks/smf-forgewright (5 stars, last pushed 1mo ago), licensed MIT. It adds 509 tokens to every session, about $0.0020 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-08-31.

Related

smf-forgewright AGENTS.md compared with instructions from other repositories

smf-forgewright AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
smf-forgewright AGENTS.mdsmfworks/smf-forgewrightInstructions file51mo agoMITA509Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot