ai-assist: Instructions file for Claude Code

AGENTS.md

ai-assist AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from ai-assist-org/ai-assist. It costs 12,543 tokens per session, scanned A, original, Apache-2.0.

Project instructions for working on ai-assist, an assistant that connects Claude, external tool servers, agent skills, and a time-based knowledge graph. An MCP server is a standard way for an AI agent to use external tools.

In plain words
What is it for?
It helps developers understand the command-line interface, agent structure, tool routing, multi-step conversations, and the project's agent workflow language.
Why use it?
It gives an AI coding agent the project's architecture, workflow, and development rules so changes fit the existing system.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: $ARGUMENTS substitution, but also the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions subagents; positional $N argument.

This is ai-assist-org/ai-assist's own configuration. It tells Claude Code, Codex and OpenCode how to work on ai-assist 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-assist configures →

Reuse

Borrowing it

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

Made for: Claude Code, 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-assist AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ai-assist-org/ai-assist/agents-md"><img src="https://agentmods.dev/badge/instructions/ai-assist-org/ai-assist/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12,543 This file is loaded in full into every session.
When invoked 12,543 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.12543 $0.12543
Opus 5.5 $0.05017 $0.05017
Sonnet 5.5 $0.02509 $0.02509
Haiku 4.5 $0.01254 $0.01254

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

Security

Grade A, and why

ai-assist 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 yesterday.

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 · 1,054 lines

How it starts

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

AGENTS.md - Development Guide for AI Agents and Developers

This document provides guidance for AI agents and developers working on the ai-assist project. It outlines the project architecture, development principles, and best practices.

Project Overview

ai-assist (AI Assistant for Knowledge Workers) is an intelligent assistant that integrates with Claude, MCP (Model Context Protocol) servers, Agent Skills, and a temporal knowledge graph to provide intelligent monitoring, querying, and workflow automation.

Core Architecture

┌─────────────────────────────────────────────────────────┐
│                    ai-assist CLI Interface                    │
│         (Interactive / Monitor / Query modes)            │
└───────────────────────┬─────────────────────────────────┘
                        │
┌───────────────────────▼─────────────────────────────────┐
│                    AiAssistAgent                             │
│  - Manages conversation with Claude                      │
│  - Routes tool calls to MCP servers                      │
│  - Handles multi-turn interactions                       │
└───────────────────────┬─────────────────────────────────┘
                        │
        ┌───────────────┼───────────────┐
        │               │               │
┌───────▼────────┐ ┌───▼────────┐ ┌───▼────────────┐
│ dci-mcp-server │ │   Future   │ │    Future      │
│                │ │   MCP      │ │     MCP        │
│ - DCI Tools    │ │  Servers   │ │   Servers      │
│ - Jira Tools   │ │            │ │                │
│ - Google Docs  │ │            │ │                │
└────────────────┘ └────────────┘ └────────────────┘

The system has five major subsystems:

  1. MCP Integration (agent.py): Connects to MCP servers (DCI, Jira, etc.) and routes tool calls using the format server_name__tool_name
  2. AWL Runtime (awl_parser.py, awl_runtime.py, awl_ast.py, awl_expressions.py): Agent Workflow Language interpreter for multi-step workflows
  3. Knowledge Graph (knowledge_graph.py): Temporal SQLite database with vector embeddings for entity tracking, change detection, and conversation memory
  4. Agent Skills (skills_loader.py, skills_manager.py): Loads agentskills.io-compliant skills with optional sandboxed script execution
  5. Event Sources (event_sources.py, event_source_mqtt.py, event_source_dbus.py, event_source_file.py): Pluggable event system for reactive task triggering via MQTT, D-Bus, filesystem changes, etc.

Read the full file on GitHub · 1,054 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. yesterday Changed · +2 lines · +592 tokens per session 8a8685bd9997
  2. 8d ago Changed · +4 lines · +66 tokens per session 146ffe1ae0fb
  3. 10d ago Changed · +6 lines · +625 tokens per session 812aa58c2921
  4. 27d ago Changed · +1 lines · +184 tokens per session ff0bbdfea475
  5. 1mo ago Changed · +4 lines · +51 tokens per session 4c5c51030c77
  6. 1mo ago Changed · +10 lines · +256 tokens per session 3259e5ba2f87
  7. 1mo ago Changed · +2 lines · +157 tokens per session 13a2f873c472
  8. 2mo ago Changed · +91 tokens per session b3f8f15fcc28
  9. 2mo ago Changed · +40 lines · +656 tokens per session 875987d04ddd
  10. 2mo ago First seen · 985 lines · 9,865 tokens per session scan A 00408a36d5f6

Subscribe to this mod's changes

ai-assist AGENTS.md is an instructions file published in the GitHub repository ai-assist-org/ai-assist (7 stars, last pushed yesterday), licensed Apache-2.0. It adds 12,543 tokens to every session, about $0.0502 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

ai-assist AGENTS.md compared with instructions from other repositories

ai-assist AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-assist AGENTS.mdai-assist-org/ai-assistInstructions file7yesterdayApache-2.0A12,543Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode