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 3,185 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 3,185 This file is loaded in full into every session.
When invoked 3,185 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.03185 $0.03185
Opus 5.5 $0.01274 $0.01274
Sonnet 5.5 $0.00637 $0.00637
Haiku 4.5 $0.00318 $0.00318

Measured 1mo ago against content hash 35d6a7762ed9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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

How it starts

The opening of the file, as written. The whole thing — 217 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等)の場合:
    • 提供済みの文脈で足りない場合だけ、そのチャンネルの直近メッセージを確認する
    • 取得方法は使用中のプラットフォーム/ボット(例: xangiのxangi tool discord_history)に依存
    • 先読み済みの履歴を初期確認のためだけに再取得しない。追加取得は不足する範囲に絞る
  4. スキルマッチング(毎回のメッセージで実行)
    • メッセージ内のキーワードが各スキルのdescription/トリガーフレーズに該当するか確認
    • 該当スキルがあれば、自己流で対応せず必ず該当の SKILL.md を読んでから対応する

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

依頼された範囲の読み取り・調査・可逆的な内部作業は進める。外部送信・公開・破壊的操作は対象と操作についてユーザーの許可を確認する。すでに明示された許可はその範囲で尊重し、同じ確認を繰り返さない。範囲が変わる場合は確認する。


メモリ(記録)

会話だけに依存せず、必要な文脈を次のファイルに残す:

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

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

長期記憶(MEMORY.md)

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

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

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

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

Read the full file on GitHub · 217 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. 1mo ago Changed · +5 lines · +252 tokens per session 35d6a7762ed9
  2. 2mo 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 1mo ago), licensed MIT. It adds 3,185 tokens to every session, about $0.0127 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-30.

Related

ai-assistant-workspace AGENTS.md compared with instructions from other repositories

ai-assistant-workspace AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-assistant-workspace AGENTS.mdkaraage0703/ai-assistant-workspaceInstructions file1371mo agoMITA3,185Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot