Ocul-PM: Instructions file for Codex

AGENTS.md

Ocul-PM AGENTS.md is an instructions file for Codex, OpenCode from bunhine0452/Ocul-PM. It costs 2,138 tokens per session, scanned A, original, MIT.

Repository instructions for Ocul-PM, a local-first desktop project manager that records coding-agent work in readable Markdown journals. They define when to search past records and when to write new ones.

In plain words
What is it for?
Use them while fixing bugs, adding features, refactoring, handling errors, or completing maintenance work in Ocul-PM.
Why use it?
They keep work history consistent and help agents find earlier decisions, causes, and failed approaches before changing code.

Instructions file for CodexOpenCode

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

This is bunhine0452/Ocul-PM's own configuration. It tells Codex and OpenCode how to work on Ocul-PM 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 Ocul-PM configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bunhine0452/Ocul-PM. 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/bunhine0452/Ocul-PM/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/bunhine0452/Ocul-PM

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 Ocul-PM AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/bunhine0452/ocul-pm/agents-md.svg)](https://agentmods.dev/instructions/bunhine0452/ocul-pm/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/bunhine0452/ocul-pm/agents-md"><img src="https://agentmods.dev/badge/instructions/bunhine0452/ocul-pm/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,138 This file is loaded in full into every session.
When invoked 2,138 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.02138 $0.02138
Opus 5 $0.01069 $0.01069
Sonnet 5 $0.00428 $0.00428
Haiku 4.5 $0.00214 $0.00214

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

Security

Grade A, and why

Ocul-PM 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 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.

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 · 69 lines

How it starts

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

ocul-pm 작업 기록 규칙

당신은 ocul-pm 추적 프로젝트에서 작업 중입니다. 하나의 논리적 작업 단위(버그 수정 / 기능 / 리팩토링 / 에러 사이클 / 잡일)를 끝낼 때마다 즉시 기록하세요 — 사용자에게 묻지 말 것.

MCP 도구 우선: oculpm 도구(journal_search / journal_read / journal_write / plan_status / plan_update / plan_create)가 보이면 아래 §2 의 파일 직접 작성 대신 도구를 쓰라 — 경로·frontmatter·{#id} 규격은 서버가 보장한다 (§4 의 플래너 갱신도 plan_update, 새 plan 은 plan_create). 도구가 안 보일 때만 직접 쓴다.

0. 시작하기 전 — 과거를 먼저 찾는다

기록은 쌓으라고 있는 게 아니라 다시 쓰라고 있습니다. 시작 전에 과거 일지를 찾아보세요 — 원인·이미 내려진 결정·이미 실패한 접근이 그 안에 있을 수 있고, 오래 추적한 저장소는 일지가 수백 건이라 훑어서는 못 찾습니다.

  • 고칠 파일을 알면 journal_search(file: "watcher.rs") — 가장 정확한 필터이니 이것부터.
  • 증상·기능 이름이 있으면 journal_search(query: "IME 조합", types: ["bug"]).
  • 읽을 가치가 있는 것만 journal_read(path: …) 로 펼칩니다. 계획 맥락은 plan_status.

찾은 것이 이어지면 새 일지의 related 에 그 경로를 넣으세요. 도구가 없으면 .oculpm/journal/** 를 grep.

1. 언제 기록하는가 (5 trigger)

bug fix(재현되던 결함의 해소를 직접 확인) · feature done(첫 happy-path 동작) · refactor batch(기능 동일+구조 변경 완료, 테스트 그린) · error cycle(진단·수정 사이클 1회 — 실패도 기록) · chore(config/문서 등 비기능 변경 완료).

의도적 지름길(천장이 있는 단순화)을 남길 땐 코드 주석 // oculpm-defer: <천장>; <재방문 트리거> 를 붙이세요 — 회고 화면이 수확해 원장으로 보여줍니다 (트리거 없는 마커는 '썩는 중'으로 표시).

2. 일지 파일 규격 (도구가 없을 때만)

경로 .oculpm/journal/{YYYYMMDD}/{TypeFolder}/{HHMM}_{type}_{slug}.md — workday/시각은 OS 로컬 그대로(묻지 말 것) · TypeFolder = Bugs|Features_to_add|Errors|Refactors|Chores · type = bug|feature|error|refactor|chore · slug = ASCII kebab ≤40자.

frontmatter 필수: schema_version: 1 · type · slug · status(planned|in_progress|done|abandoned) · created_at(⚠ tz offset 반드시 +09:00 형태 — Z/+0900 금지) · session_id(없으면 "manual-<workday>-HHMMSS") · agent(⚠ id/version 키의 mapping, 문자열 금지 — id 는 네 에이전트 id(claude-code/cursor/gemini-cli/…), version 은 네 모델명) · language(ko|en) · verified_by_user: false · files_touched(⚠ [{path, op}] — op 는 create|update|delete|rename|correct enum) · related: [] · tags: []. 선택: difficulty(verylow~superhigh), updated_at.

Read the full file on GitHub · 69 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 · +2 lines · +93 tokens per session 8cde1efb8273
  2. 4d ago Changed · +5 lines · +147 tokens per session 7e692a89c766
  3. 8d ago First seen · 62 lines · 1,898 tokens per session scan A a72d9cbe888c

Subscribe to this mod's changes

Ocul-PM AGENTS.md is an instructions file published in the GitHub repository bunhine0452/Ocul-PM (7 stars, last pushed today), licensed MIT. It adds 2,138 tokens to every session, about $0.0107 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-31.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens