freehire AGENTS.md

freehire AGENTS.md is an instructions file for Codex, OpenCode from strelov1/freehire. It costs 10,146 tokens per session, scanned C, original, MIT.

Repository instructions for freehire, an open-source IT job aggregator that collects listings, standardizes them, removes duplicates, and serves them through an API and web app.

In plain words
What is it for?
Use them when working on job parsers, data normalization, duplicate removal, AI enrichment, the HTTP API, database, search, or SvelteKit web app.
Why use it?
They give coding agents the project's working principles and technical context, reducing guesswork when modifying its job-processing pipeline or applications.

Instructions file for CodexOpenCode

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

Install

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.

agentmods
npx agentmods add instructions/strelov1/freehire/agents-md
Clone the repo
git clone --depth 1 https://github.com/strelov1/freehire

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 freehire AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/strelov1/freehire/agents-md.svg)](https://agentmods.dev/instructions/strelov1/freehire/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/strelov1/freehire/agents-md"><img src="https://agentmods.dev/badge/instructions/strelov1/freehire/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 10,146 This file is loaded in full into every session.
When invoked 10,146 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
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.10146 $0.10146
Opus 5 $0.05073 $0.05073
Sonnet 5 $0.02029 $0.02029
Haiku 4.5 $0.01015 $0.01015

Measured today against content hash 883d84117d8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade C, and why

freehire AGENTS.md scanned grade C 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 today.

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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

- **LLM spend attribution:** every model call made for a signed-in user goes out on that user's OWN gateway credential (`internal/ai/llmkey` — minted lazily on first use, never shown to them) and carries a `feature:` tag
AGENTS.md · 239 lines

How it starts

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

AGENTS.md

Guidance for AI agents working in this repository.

Working principles

  • No overengineering, and no MVP shortcuts. Hold the middle path: don't build infrastructure before there's a concrete need (note the seam for later instead), and don't ship quick-and-dirty or "for now" hacks. Build each feature correctly and idiomatically — neither gold-plated nor a placeholder.
  • MVP stage — keep the architecture fluid. The current structure is not load-bearing legacy. When a new feature doesn't fit cleanly, prefer reshaping the affected part over bolting on an awkward special case.
  • Surgical changes. Clean up what your change orphaned; leave pre-existing dead code alone. Prefer a library's intended API over a clever shim.
  • English only. All code, comments, identifiers, docs, and commits.

What this is

freehire (freehire.me) is an open-source IT job aggregator. Many source parsers feed a pipeline that normalizes jobs into one schema, deduplicates them, and enriches them with AI; served over an HTTP API with rich filters, consumed by a SvelteKit app under web/.

Stack: Go + Fiber v2, PostgreSQL, sqlc, Meilisearch, Docker Compose, langchaingo.

Layout

internal/<block>/<pkg>/ — every package sits in exactly one of eleven blocks, and the blocks form eight layers. A block may import only blocks strictly below it; two blocks sharing a layer may not see each other in either direction. The substantial packages carry their own AGENTS.md (see the table below), and each block carries one saying what it is and what it may reach for.

8. api           handlers, middleware, realtime, OG images
7. engage        notifications, digests, onboarding, referrals
   ingest        source adapters, crawl pipeline, link import, manual intake
6. application   tracking, stages, the event ledger, mail and calendar
   search        Meili topology, the drain, saved searches, intent
5. job           the posting: identity, facets, wire shape, dedup, ghost signal
4. candidate     CV, structured extraction, experience bank, PII, matching
3. ai            enrichment, embeddings, assistant, speech, plan limits
   identity      accounts, auth, profile
2. dict          the facet dictionaries and normalisation under them
1. platform      db, worker plumbing, outbox, cache, HTTP and LLM transport

Read the full file on GitHub · 239 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. today Changed · +3 lines · +495 tokens per session 883d84117d8d
  2. 2d ago Changed · +28 lines · +2,346 tokens per session 34eacbf163c3
  3. 6d ago First seen · 208 lines · 7,305 tokens per session scan C b0c78b28ad9f

Subscribe to this mod's changes

freehire AGENTS.md is an instructions file published in the GitHub repository strelov1/freehire (591 stars, last pushed today), licensed MIT. It adds 10,146 tokens to every session, about $0.0507 per session on Opus 5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.