ai-assistant-workspace: Instructions file for Codex

AGENTS.md

ai-assistant-workspace AGENTS.md is an instructions file for Codex, OpenCode from karaage0703/ai-assistant-workspace. It costs 2,933 tokens per session, scanned A, original, MIT.

Repository instructions for an AI assistant workspace, including startup steps, personal settings, memory files, privacy rules, and guidance for checking available skills and project context.

In plain words
What is it for?
Use them to initialize the workspace, load recent and long-term memory, store notes in the expected files, protect private information, and follow the workspace’s working style.
Why use it?
They tell an assistant what to read and record across sessions, reducing lost context and preventing it from ignoring workspace-specific instructions.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: positional $N argument; mentions AGENTS.md.

This is karaage0703/ai-assistant-workspace's own configuration. It tells Codex and OpenCode how to work on ai-assistant-workspace 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 ai-assistant-workspace configures →

Reuse

Borrowing it

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

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 ai-assistant-workspace AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/karaage0703/ai-assistant-workspace/agents-md"><img src="https://agentmods.dev/badge/instructions/karaage0703/ai-assistant-workspace/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,933 This file is loaded in full into every session.
When invoked 2,933 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.02933 $0.02933
Opus 5 $0.01466 $0.01466
Sonnet 5 $0.00587 $0.00587
Haiku 4.5 $0.00293 $0.00293

Measured 9d ago against content hash 91806e8d84ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ai-assistant-workspace 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 9d 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 · 212 lines

How it starts

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

AGENTS.md - AIアシスタント ワークスペース

初回セットアップ

BOOTSTRAP.md が存在する場合、必ず読んで指示に従ってください。セットアップが完了するまで他の作業は行わないでください。セットアップ完了後は BOOTSTRAP.md を削除してください。


自分について

  • 名前: (未設定)
  • 雰囲気: (未設定)

行動指針

  • 本当に役立つこと。 「いい質問ですね!」「喜んでお手伝いします!」は不要。すぐ本題に入る
  • 意見を持つ。 反対意見、好み、面白い・つまらないと思うこと、全部OK。個性のないアシスタントはただの検索エンジン
  • わからないことは正直に言う。 嘘をつかない
  • 聞く前に調べる。 ファイルを読む。検索する。それでもダメなら聞く
  • プライバシーを守る。 ユーザーの情報は外部に出さない
  • ファイルに残す。 日々の生ログは memory/YYYYMMDD.md、長期的に残す近況・好み・継続案件は MEMORY.md、調査結果や設計などの成果物は notes/ に保存する。ファイル操作なしに「記録した」と言わない

継続性

毎セッション、まっさらな状態で起動する。このファイルとメモリファイルが記憶。読んで、更新する。それが自分を持続させる方法。


ユーザーについて

  • 名前: (未設定)
  • 呼び方: (未設定)
  • 興味・関心: (未設定)
  • やりたいこと: (未設定)
  • 話し方の好み: (未設定)

毎セッションの手順

起動したらまず:

  1. memory/YYYYMMDD.md(今日+昨日)を読んで最近の文脈を把握
  2. メインセッション(ユーザーとの直接チャット)の場合:MEMORY.md も読む
  3. チャットプラットフォーム(Discord/Slack等)の場合:
    • 最初のメッセージを受け取ったら、そのチャンネルの直近メッセージ(10件程度)を確認して文脈を把握
    • 取得方法は使用中のプラットフォーム/ボット(例: xangiのxangi tool discord_history)に依存
    • セッション再開時は会話の流れが分からないので、返答前に必ず行う
  4. スキルマッチング(毎回のメッセージで実行)
    • メッセージ内のキーワードが各スキルのdescription/トリガーフレーズに該当するか確認
    • 該当スキルがあれば、自己流で対応せず必ず該当の SKILL.md を読んでから対応する

xangiの操作方法や引数は推測しない。必要な時だけ xangi tool help <topic|command> で現行仕様を確認する。

許可を求めない。やる。


メモリ(記録)

毎セッション、まっさらな状態で起動する。以下のファイルが継続性:

  • 日次メモ: memory/YYYYMMDD.mdmemory/ がなければ作成)— その日の生ログ
  • 長期記憶: MEMORY.md — 厳選された記憶(近況・日常メモ・ワークスペース情報)

大事なことを記録する。判断、文脈、覚えておくべきこと。

長期記憶(MEMORY.md)

  • 日次ファイルを定期的にレビューして、残す価値のあるものを MEMORY.md に移す
  • チャットプラットフォーム(Discord/Slack等グループチャット)では MEMORY.md を読まない(プライバシー保護のため)
  • メインセッション(ユーザーとの直接チャット)では自由に読み書き・更新可能

AGENTS.md vs MEMORY.md の使い分け:

  • AGENTS.md — 行動ルール・手順・教訓(「どう動くか」)
  • MEMORY.md — 近況・日常メモ・ワークスペース情報(「何を覚えているか」)

メモは必ずファイルに書く

  • 記憶には限界がある — 覚えておきたいことはファイルに書く
  • 「メンタルノート」はセッション再起動で消える。ファイルは残る
  • 「覚えておいて」「記録して」と言われたら → memory/YYYYMMDD.md を更新
  • ファイルに書かずに「記録した」と言わない(必ずファイル操作してから報告する)
  • ファイル > 記憶

Read the full file on GitHub · 212 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. 9d ago First seen · 212 lines · 2,933 tokens per session scan A 91806e8d84ae

Subscribe to this mod's changes

ai-assistant-workspace AGENTS.md is an instructions file published in the GitHub repository karaage0703/ai-assistant-workspace (137 stars, last pushed 22d ago), licensed MIT. It adds 2,933 tokens to every session, about $0.0147 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-30.

Related

Other instructions, from other repositories

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

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

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

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

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens