You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
PAI is the core Personal AI Infrastructure agent implemented by this plugin. It serves as the primary interface for the OpenCode environment, managing session context, security, logging, and user interactions.
9
9
10
10
## Capabilities
11
-
-**Context Management**: Automatically loads the `skills/core/SKILL.md` file from `PAI_DIR`, performing dynamic variable substitution for personalized interaction.
11
+
-**Context Management**: Automatically loads the `skill/core/SKILL.md` file from `PAI_DIR`, performing dynamic variable substitution for personalized interaction.
12
12
-**Project Requirements**: Detects and loads `.opencode/dynamic-requirements.md` from the current project worktree to inject task-specific constraints.
13
13
-**Event Logging**: Logs all session events and tool executions to `PAI_DIR/history/raw-outputs` in an analytics-ready JSONL format.
14
14
-**Session Summarization**: Generates human-readable Markdown summaries in `PAI_DIR/history/sessions` when a session ends.
@@ -20,7 +20,7 @@ The agent's behavior is controlled via environment variables:
20
20
21
21
| Variable | Description | Default |
22
22
| :--- | :--- | :--- |
23
-
|`PAI_DIR`| Root directory for PAI skills and history |`$XDG_CONFIG_HOME/opencode`|
23
+
|`PAI_DIR`| Root directory for PAI skill and history |`$XDG_CONFIG_HOME/opencode`|
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ This project is an OpenCode-compatible clone of the hook system from **Dan Miess
13
13
## Features
14
14
15
15
### 1. Identity & Context Injection
16
-
***Core Skill Loading**: Automatically injects your `skills/core/SKILL.md` (from `PAI_DIR`) into the system prompt.
16
+
***Core Skill Loading**: Automatically injects your `skill/core/SKILL.md` (from `PAI_DIR`) into the system prompt.
17
17
***Dynamic Substitution**: Supports placeholders like `{{DA}}`, `{{DA_COLOR}}`, and `{{ENGINEER_NAME}}` for personalized interactions.
18
18
***Project Requirements**: Automatically detects and loads `.opencode/dynamic-requirements.md` from your current project, allowing for task-specific instructions.
19
19
@@ -37,7 +37,7 @@ The plugin centers around the `PAI_DIR` environment variable.
37
37
38
38
| Variable | Description | Default |
39
39
| :--- | :--- | :--- |
40
-
|`PAI_DIR`| Root directory for PAI skills and history |`$XDG_CONFIG_HOME/opencode`|
40
+
|`PAI_DIR`| Root directory for PAI skill and history |`$XDG_CONFIG_HOME/opencode`|
41
41
|`DA`| Name of your Digital Assistant |`PAI`|
42
42
|`ENGINEER_NAME`| Your name/identity |`Operator`|
43
43
|`DA_COLOR`| UI color theme for your DA |`blue`|
@@ -56,7 +56,7 @@ Add the plugin to your global `opencode.json` configuration file (typically loca
56
56
57
57
Upon first run, the plugin will automatically:
58
58
1. Detect or create your `PAI_DIR` (default: `$XDG_CONFIG_HOME/opencode`).
59
-
2. Initialize the required directory structure for skills and history.
59
+
2. Initialize the required directory structure for skill and history.
60
60
3. Create a default `SKILL.md` core identity if one does not exist.
61
61
62
62
## Development & Testing
@@ -73,7 +73,7 @@ We provide scripts to verify the plugin in a pristine environment:
73
73
74
74
---
75
75
76
-
**Note**: This plugin is designed to work with the PAI ecosystem. While it auto-initializes a basic structure, you can customize your identity by editing `$PAI_DIR/skills/core/SKILL.md`.
76
+
**Note**: This plugin is designed to work with the PAI ecosystem. While it auto-initializes a basic structure, you can customize your identity by editing `$PAI_DIR/skill/core/SKILL.md`.
0 commit comments