obsidian-agent-client
AGENTS.md2.4k starsChanged 10 months agoApache-2.0View on GitHub
Tech: React 19, TypeScript, Obsidian API, Agent Client Protocol (ACP)
- Reads credentials
Trending
Less talk lately.thin dataabout the whole repository
Who's talking about RAIT-09/obsidian-agent-client
- @ginoi2.bsky.social“CodexをObsidian PluginのAgent Client経由で使ってるんだけど、APIじゃなくてChatGPT …”Bluesky · Mar 23, 2026 · 3 likes
- @ginoi2.bsky.social“Agent Client Plugin for Obsidian インストールしてみた Codexを試していきたい”Bluesky · Mar 17, 2026 · 2 likes
- code-yeongyu/oh-my-openagent“[Question]: How is OMOC compared to the other OpenCode tools?”GitHub · Jan 9, 2026 · 2 reactions
- @handlena.me“Agent Clientいい感じだな 普段使ってるCoding Agentの知見と資産がそのまま使えるのが良い #obsidian.md github.com/RAIT-09/obsi...”Bluesky · Dec 13, 2025 · 2 likes
- @chudesnov.social“First time I’m hearing about ACP, and this looks pretty cool github.com/RAIT-09/obsi...”Bluesky · Feb 11, 2026 · 1 likes
The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 13
Talked about on GitHub and Bluesky (13 times).
On GitHub · 9
- Jan 9, 2026[Question]: How is OMOC compared to the other OpenCode tools? — code-yeongyu/oh-my-openagent2 reactions · 2 comments
- Oct 1, 2026agent-skills.github.rait-09.obsidian-agent-client: init at 0.13.0 — sudosubin/agents.nix0 reactions
- Aug 25, 2026Tracker: contribute Fountain integration docs to the projects that speak ACP, AG-UI, Buzz and MCP — managoat/fountain0 reactions · 2 comments
- Jul 14, 2026map ACP ecosystem — 36 agents, obsidian clients, Jockey/TUI options for b00t — elasticdotventures/_b00t_0 reactions · 1 comment
- Jun 23, 2026feat: Prompt library — donivatamazondotcom/obsidian-agent-console0 reactions · 2 comments
4 more on GitHub
- Feb 11, 2026Integrate ACP for agents CLI — logancyang/obsidian-copilot0 reactions · 3 comments
- Jan 10, 2026Inclusion of OpenCode in this tooling — chicogong/obsidian-claude-code0 reactions
- Jan 10, 2026Alternatives to Claude like OpenCode — YishenTu/claudian0 reactions · 5 comments
- Jan 10, 2026How is this different from the other app? — mtymek/opencode-obsidian0 reactions · 2 comments
On Bluesky · 4
- Mar 23, 2026CodexをObsidian PluginのAgent Client経由で使ってるんだけど、APIじゃなくてChatGPT Plusアカウントでログインしてるからなのか、WindowsだとcmdとPowerShell行き来したり許可求められたりで、思ってたよりサクッと動かない。… — @ginoi2.bsky.social3 likes and reposts · 1 reply
- Mar 17, 2026Agent Client Plugin for Obsidian インストールしてみた Codexを試していきたい — @ginoi2.bsky.social2 likes and reposts
- Dec 13, 2025Agent Clientいい感じだな 普段使ってるCoding Agentの知見と資産がそのまま使えるのが良い #obsidian.md github.com/RAIT-09/obsi... — @handlena.me2 likes and reposts
- Feb 11, 2026First time I’m hearing about ACP, and this looks pretty cool github.com/RAIT-09/obsi... — @chudesnov.social1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- release-notesSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
18 rules. About 0 are common, 5 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 88
All events flow through a single onSessionUpdate channel.
- Distinctive: line 109
Create services (AcpClient, VaultService) in lifecycle methods
- Very specific: line 241
Single event channel: All agent events (messages, session updates, permissions, errors) flow through onSessionUpdate.
- Very specific: line 255
No innerHTML/outerHTML - use createEl/createDiv/createSpan
- Distinctive: line 256
NO detach leaves in onunload (antipattern)
- Distinctive: line 258
Use Platform interface - not process.platform
- Very specific: line 275
Upsert pattern: Use setMessages functional updates to avoid race conditions with tool_call updates
- Very specific: line 278
Stable empty arrays: Use module-level constants (e.g., EMPTY_COMMANDS) instead of inline [] in hook args
- Very specific: line 286
Call the hook in ui/ChatPanel.tsx
- Very specific: line 291
Add one entry to PRESET_AGENTS in services/preset-agents.ts (presetId, defaults, optional apiKey wiring, install hint, settings copy, …
- Very specific: line 295
Add docs — the full file list (do not shorten it.
- Very specific: line 305
Update ChatMessage/MessageContent in types/chat.ts
- Distinctive: line 306
If adding new session update type:
- Very specific: line 307
Add to SessionUpdate union in types/session.ts
- Very specific: line 309
Update acp/acp-handler.ts sessionUpdate() to emit the new type
- Very specific: line 310
Update ui/MessageBubble.tsx ContentBlock to render new type
- Very specific: line 314
Add to SessionUpdate union type
- Distinctive: line 317
No routing needed in ChatPanel — useAgent handles dispatch internally
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Client Plugin - LLM Developer Guide
Overview
Obsidian plugin for AI agent interaction (Claude Code, Codex, Gemini CLI, Mistral Vibe, OpenCode, Kiro, Hermes Agent, Pi, Grok Build, custom agents) via ACP.
Tech: React 19, TypeScript, Obsidian API, Agent Client Protocol (ACP)
Architecture
src/
├── types/ # Type definitions (no logic, no dependencies)
│ ├── chat.ts # ChatMessage, MessageContent, PromptContent, AttachedFile, ActivePermission
│ ├── session.ts # ChatSession, SessionUpdate (12-type union), SessionInfo, Capabilities
│ ├── agent.ts # BaseAgentSettings, PresetAgentUserSettings, CustomAgentSettings
│ └── errors.ts # AcpError, ProcessError, ErrorInfo
├── acp/ # ACP protocol (SDK dependency confined here)
│ ├── acp-client.ts # Process lifecycle, UI-facing API (AcpClient class)
│ ├── acp-handler.ts # SDK event handler + sessionId filter + listener broadcast
│ ├── type-converter.ts # ACP SDK ↔ internal type conversion
│ ├── permission-handler.ts # Permission queue, auto-approve, Promise resolution
│ └── terminal-handler.ts # Terminal process create/output/kill
├── services/ # Business logic (non-React, no React imports)
│ ├── vault-service.ts # Vault access + fuzzy search + CM6 selection tracking
│ ├── settings-service.ts # Reactive settings store (observer pattern only)
│ ├── session-storage.ts # Session metadata + message file I/O (sessions/*.json)
│ ├── preset-agents.ts # Static registry of preset (built-in) agents (PRESET_AGENTS)
│ ├── settings-normalizer.ts # Settings validation helpers + presetAgents normalization/migration
│ ├── session-helpers.ts # Agent enumeration/resolution, API key injection (pure functions)
│ ├── session-state.ts # Session state updates (legacy mode/model, config restore)
│ ├── message-state.ts # Message array transforms (upsert, merge, streaming apply)
│ ├── message-sender.ts # Prompt preparation + sending (pure functions)
│ ├── chat-exporter.ts # Markdown export with frontmatter
│ ├── view-registry.ts # Multi-view management, focus, broadcast
│ └── update-checker.ts # Agent/plugin version checking
├── hooks/ # React custom hooks (state + logic)
│ ├── useAgent.ts # Facade: composes useAgentSession + useAgentMessages
│ ├── useAgentSession.ts # Session lifecycle, config options, optimistic updates
│ ├── useAgentMessages.ts # Message state, streaming (RAF batch), permissions
│ ├── useSuggestions.ts # @[[note]] mentions + /command suggestions (unified)
│ ├── useSessionHistory.ts # Session list/load/resume/fork
│ ├── useChatActions.ts # Business callbacks (send, newChat, export, restart, etc.)
│ ├── useHistoryModal.ts # Session history modal lifecycle
│ └── useSettings.ts # Settings subscription (useSyncExternalStore)
├── ui/ # React components
│ ├── ChatContext.ts # React Context (plugin, acpClient, vaultService, settingsService)
│ ├── ChatPanel.tsx # Orchestrator: calls hooks, workspace events, rendering
│ ├── ChatView.tsx # Sidebar view (ItemView wrapper)
│ ├── FloatingChatView.tsx # Floating window (position/drag/resize)
│ ├── ChatHeader.tsx # Header (sidebar + floating variants)
│ ├── MessageList.tsx # Virtualized message list (@tanstack/react-virtual)
│ ├── MessageBubble.tsx # Single message rendering (content dispatch, copy button)
│ ├── ToolCallBlock.tsx # Tool call + diff display (word-level highlighting)
│ ├── TerminalBlock.tsx # Terminal output polling
│ ├── InputArea.tsx # Textarea, attachments, mentions, history
│ ├── InputToolbar.tsx # Config/mode/model selectors, usage, send button
│ ├── SuggestionPopup.tsx # Mention/command dropdown
│ ├── PermissionBanner.tsx # Permission request buttons
│ ├── ErrorBanner.tsx # Error/notification overlay
│ ├── SessionHistoryModal.tsx # Session history modal (list + confirm delete)
│ ├── FloatingButton.tsx # Draggable launch button
│ ├── SettingsTab.ts # Plugin settings UI
│ ├── view-host.ts # IChatViewHost interface
│ └── shared/
│ ├── IconButton.tsx # Icon button + Lucide icon wrapper
│ ├── MarkdownRenderer.tsx # Obsidian markdown rendering
│ └── AttachmentStrip.tsx # Attachment preview strip
├── utils/ # Shared utilities (pure functions)
│ ├── platform.ts # Shell, WSL, Windows env, command building
│ ├── paths.ts # Path resolution, file:// URI
│ ├── error-utils.ts # ACP error conversion
│ ├── mention-parser.ts # @[[note]] detection/extraction
│ └── logger.ts # Debug-mode logger
├── plugin.ts # Obsidian plugin lifecycle, settings persistence
└── main.ts # Entry pointData Flow
ACP Event Flow (single path)
Agent Process → ACP SDK → AcpHandler (sessionId filter) → listeners broadcast
→ useAgentSession (session-level: commands, mode, config, usage, error)
→ useAgentMessages (message-level: text chunks, tool calls, plan)
→ useAgent (facade, 1 onSessionUpdate subscription)All events flow through a single onSessionUpdate channel. No special paths for permissions or errors.
Permission Flow
Agent requestPermission → PermissionManager.request() → onSessionUpdate (tool_call)
User clicks approve/reject → PermissionManager.respond() → onSessionUpdate (tool_call_update)Key Components
ChatPanel (ui/ChatPanel.tsx)
Central orchestrator component.
- Hook Composition: Calls useAgent, useSuggestions, useSessionHistory, useChatActions, useHistoryModal, useSettings
- Workspace Events: Handles hotkeys via ref pattern (stable event registration)
- Callback Registration: IChatViewContainer callbacks via refs
- Rendering: Renders ChatHeader, MessageList, InputArea directly
ChatPanel does NOT route session updates — that's handled internally by useAgent.
ChatView / FloatingChatView (ui/ChatView.tsx, ui/FloatingChatView.tsx)
Thin wrappers that:
- Create services (AcpClient, VaultService) in lifecycle methods
- Provide ChatContext (plugin, acpClient, vaultService, settingsService)
- Render
<ChatPanel variant="sidebar" | "floating" /> - Implement IChatViewContainer for broadcast commands
FloatingChatView uses onRegisterExpanded callback (not CustomEvent) for expand/collapse.
Hooks (hooks/)
useAgent (facade): Comp훈oses useAgentSession + useAgentMessages
- Single
onSessionUpdatesubscription - Unified
handleSessionUpdatedispatches to both sub-hooks - Return is
useMemo-wrapped for referential stability
useAgentSession: Session lifecycle + config
createSession(): Build config, inject API keys, initialize + newSessionsetConfigOption(): Optimistic update + rollback on errorsetMode()/setModel(): Legacy API (deprecated, still used by many agents)- Session-level update handler (commands, mode, config, usage, process_error)
- Uses
sessionRefpattern to stabilize callback deps
useAgentMessages: Messaging + streaming + permissions
sendMessage(): Prepare (auto-mention, path conversion) → send via AcpClient- RAF batching: streaming updates accumulated per-frame via
requestAnimationFrame - Tool call index:
Map<string, number>for O(1) upsert ignoreUpdatesRef: suppresses history replay during session/loadsendPromiseRef: serializes sends and gates outuser_message_chunkechoes while the prompt RPC is open- Permission:
activePermission(useMemo derivation), approve/reject callbacks
useSuggestions: @mention + /command (unified)
- Mention detection, note searching, dropdown interaction
- Slash command filtering and selection
- Auto-mention toggle coordination (slash commands disable auto-mention)
- Return is
useMemo-wrapped (mentions + commands objects)
useChatActions: Business callbacks
- handleSendMessage, handleNewChat, handleExportChat, handleRestartAgent, etc.
- Uses individual method deps (not whole agent object) for stability
- Owns restoredMessage and agentUpdateNotification state
useSessionHistory: Session persistence
restoreSession(): Load/resume with local message fallbackforkSession(): Create new branch from existing session- 5-minute cache with invalidation
- Return is
useMemo-wrapped
useHistoryModal: Modal lifecycle
- Lazy modal creation, props synchronization
- Session operation callbacks (restore, fork, delete)
ACP Client (acp/acp-client.ts) + ACP Handler (acp/acp-handler.ts)
AcpClient — UI-facing API and process lifecycle:
- spawn() with login shell, JSON-RPC via ndJsonStream
- initialize() → newSession() → sendPrompt() → cancel() → disconnect()
- Session management: listSessions, loadSession, resumeSession, forkSession
- Owns PermissionManager, TerminalManager, AcpHandler
currentSessionIdset beforeawaitin loadSession/resumeSession to prevent replay filtering- Single exit point:
onSessionUpdate(multiple listeners via Set)
AcpHandler — SDK event receiver:
- sessionUpdate: converts ACP types → domain types → broadcast to listeners
- sessionId filter: only emits updates matching
currentSessionId - requestPermission → PermissionManager
- Terminal operations → TerminalManager
Services (services/)
VaultService: Vault access + file index + fuzzy search + CM6 selection tracking
SettingsService: Reactive settings store (observer pattern for useSyncExternalStore). Session storage delegated to SessionStorage.
SessionStorage: Session metadata CRUD (in plugin settings) + message file I/O (sessions/*.json)
preset-agents: Static registry (PRESET_AGENTS) of preset agent definitions — identity, spawn defaults, legacy data.json migration keys, API-key wiring, install hints, settings-UI copy. User overrides live in settings.presetAgents[presetId]
settings-normalizer: Validation helpers (str, bool, num, enumVal, obj, strRecord, xyPoint) + toAgentConfig + parseChatFontSize + normalizePresetAgents (legacy data.json migration; secret-storage side effects injected via ApiKeyMigrator)
session-helpers: Pure functions — buildAgentConfigWithApiKey, findAgentSettings, getAvailableAgentsFromSettings (single enumeration implementation; plugin.getAvailableAgents delegates here)
session-state: Pure functions — applyLegacyValue, tryRestoreConfigOption, restoreLegacyConfig
message-state: Pure functions — applySingleUpdate, applyUpsertToolCall, mergeToolCallContent, findActivePermission, selectOption
message-sender: Pure functions — preparePrompt (embedded context vs XML text, shared helpers), sendPreparedPrompt (auth retry)
Types
SessionUpdate (types/session.ts)
Union type for all session update events from the agent:
type SessionUpdate =
| AgentMessageChunk // Text chunk from agent's response
| AgentThoughtChunk // Text chunk from agent's reasoning
| UserMessageChunk // Text chunk from user message (session/load)
| ToolCall // New tool call event
| ToolCallUpdate // Update to existing tool call
| Plan // Agent's task plan
| AvailableCommandsUpdate // Slash commands changed
| CurrentModeUpdate // Mode changed
| SessionInfoUpdate // Session metadata changed
| UsageUpdate // Context window usage
| ConfigOptionUpdate // Config options changed
| ProcessErrorUpdate; // Process-level error (spawn failure, command not found)Key Interfaces
// services/vault-service.ts
interface IVaultAccess {
readNote(path: string): Promise<string>;
searchNotes(query: string): Promise<NoteMetadata[]>;
getActiveNote(): Promise<NoteMetadata | null>;
listNotes(): Promise<NoteMetadata[]>;
}
// services/settings-service.ts
interface ISettingsAccess {
getSnapshot(): AgentClientPluginSettings;
updateSettings(updates: Partial<AgentClientPluginSettings>): Promise<void>;
subscribe(listener: () => void): () => void;
// Session storage methods (delegated to SessionStorage internally)
saveSession(info: SavedSessionInfo): Promise<void>;
getSavedSessions(agentId?: string, cwd?: string): SavedSessionInfo[];
deleteSession(sessionId: string): Promise<void>;
saveSessionMessages(sessionId: string, agentId: string, messages: ChatMessage[]): Promise<void>;
loadSessionMessages(sessionId: string): Promise<ChatMessage[] | null>;
deleteSessionMessages(sessionId: string): Promise<void>;
}Development Rules
Architecture
- useAgent as facade: Composes useAgentSession + useAgentMessages. ChatPanel calls useAgent, not sub-hooks directly.
- Services have zero React imports: Pure functions and classes in
services/. No useState, useCallback, React.Dispatch, etc. - ACP isolation: All
@agentclientprotocol/sdkimports confined toacp/. AcpClient is UI-facing, AcpHandler is SDK-facing. - Types have zero deps: No
obsidian, no SDK, no React intypes/ - Single event channel: All agent events (messages, session updates, permissions, errors) flow through
onSessionUpdate. No special callback paths. - Context for services: plugin, acpClient, vaultService, settingsService via ChatContext
Performance Patterns
- useMemo for return stability: useAgent, useSuggestions, useSessionHistory wrap return objects in useMemo to prevent cascading re-renders
- sessionRef pattern: useAgentSession stores session in useRef for callback access without adding session to deps
- Individual method deps: useChatActions uses
agent.sendMessagenotagentas deps — prevents callback recreation when unrelated state changes - Workspace event refs: ChatPanel stores event handler callbacks in refs, keeping useEffect deps minimal
- RAF batching: useAgentMessages batches streaming updates per animation frame (~60fps) instead of per-chunk
- React.memo: MessageBubble, ToolCallBlock, TerminalBlock wrapped for skip-render optimization
- Virtual scroll: MessageList uses @tanstack/react-virtual for large conversations
- O(1) tool call index: Map<string, number> for tool call upsert without linear scan
Obsidian Plugin Review (CRITICAL)
- No innerHTML/outerHTML - use createEl/createDiv/createSpan
- NO detach leaves in onunload (antipattern)
- Styles in CSS only - no JS style manipulation
- Use Platform interface - not process.platform
- Minimize
any- use proper types
Naming Conventions
- Types:
kebab-case.tsintypes/ - ACP:
kebab-case.tsinacp/ - Services:
kebab-case.tsinservices/ - Hooks:
use*.tsinhooks/ - Components:
PascalCase.tsxinui/ - Utils:
kebab-case.tsinutils/
Code Patterns
- React hooks for state management
- useCallback/useMemo for performance (see Performance Patterns above)
- useRef for cleanup function access and stale closure prevention
- Error handling: try-catch async ops
- Logging: Logger class (respects debugMode). Avoid excessive per-keystroke logging.
- Upsert pattern: Use
setMessagesfunctional updates to avoid race conditions with tool_call updates - Ref pattern for callbacks: IChatViewContainer and workspace event handlers use refs for latest values
- Context value stability: ChatContext value created once (service instances), wrapped in useMemo
- Stable empty arrays: Use module-level constants (e.g.,
EMPTY_COMMANDS) instead of inline[]in hook args
Common Tasks
Add New Feature Hook
- Create
hooks/use[Feature].ts - Define state with useState/useReducer
- Export functions and state
- Call the hook in
ui/ChatPanel.tsx - Pass state/callbacks to child components as props
- Wrap return object in
useMemoif passed as dependency to other hooks
Add Preset Agent
- Add one entry to
PRESET_AGENTSinservices/preset-agents.ts(presetId, defaults, optional apiKey wiring, install hint, settings copy, docsPage). Settings storage, enumeration, API key injection, and the settings UI are all registry-driven — no per-agent code elsewhere. - Add docs — the full file list (do not shorten it; every past addition that
skipped one needed a follow-up commit):
docs/agent-setup/<agent>.md(new page),docs/.vitepress/config.mts(sidebar),docs/index.md,docs/agent-setup/index.md,docs/getting-started/index.md,docs/getting-started/quick-start.md,docs/help/faq.md,docs/help/troubleshooting.md,docs/reference/acp-support.md,docs/usage/context-files.md,README.md,README.ja.md, and the Agents list at the bottom of this file
Modify Message Types
- Update
ChatMessage/MessageContentintypes/chat.ts - If adding new session update type:
- Add to
SessionUpdateunion intypes/session.ts - Handle in
hooks/useAgentMessages.ts(for message-level) orhooks/useAgentSession.ts(for session-level)
- Add to
- Update
acp/acp-handler.tssessionUpdate()to emit the new type - Update
ui/MessageBubble.tsxContentBlockto render new type
Add New Session Update Type
- Define interface in
types/session.ts - Add to
SessionUpdateunion type - Handle in
hooks/useAgentSession.tshandleSessionUpdate()(for session-level) - Or handle via
applySingleUpdate()inservices/message-state.ts(for message-level) - No routing needed in ChatPanel — useAgent handles dispatch internally
Debug
- Settings → Developer Settings → Debug Mode ON
- Open DevTools (Cmd+Option+I / Ctrl+Shift+I)
- Filter logs:
[AcpClient],[AcpHandler],[PermissionManager],[VaultService]
ACP Protocol
Communication: JSON-RPC 2.0 over stdin/stdout
Methods: initialize, newSession, authenticate, prompt, cancel, setSessionConfigOption Notifications: session/update (agent_message_chunk, agent_thought_chunk, user_message_chunk, tool_call, tool_call_update, plan, available_commands_update, current_mode_update, session_info_update, usage_update, config_option_update) Requests: requestPermission Session Management (unstable): session/list, session/load, session/resume, session/fork
Agents:
- Claude Code:
@agentclientprotocol/claude-agent-acp(ANTHROPIC_API_KEY) - Codex:
@agentclientprotocol/codex-acp(OPENAI_API_KEY) - Gemini CLI:
@google/gemini-cli(GEMINI_API_KEY) - Mistral Vibe:
mistral-vibe(MISTRAL_API_KEY) - OpenCode:
opencode-ai(CLI-managed auth, no API key env) - Kiro:
kiro-cliinstall script (KIRO_API_KEY, optional) - Hermes Agent: install script (CLI-managed auth, no API key env)
- Pi:
pi-acpnpm package (requirespiCLI; CLI-managed auth, no API key env) - Grok Build:
grokinstall script (XAI_API_KEY, optional) - Custom: Any ACP-compatible agent
Last Updated: April 2026 | Architecture: useAgent facade + sub-hooks | Version: 0.10.0-preview.1
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

