@prmichaelsen/remember-mcp 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/AGENT.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Agent Context Protocol (ACP)
2
2
 
3
3
  **Also Known As**: The Agent Directory Pattern
4
- **Version**: 1.1.0
4
+ **Version**: 1.2.0
5
5
  **Created**: 2026-02-11
6
6
  **Status**: Production Pattern
7
7
 
@@ -81,6 +81,14 @@ ACP solves these by:
81
81
  project-root/
82
82
  ├── AGENT.md # This file - ACP documentation
83
83
  ├── agent/ # Agent directory (ACP structure)
84
+ │ ├── commands/ # Command system
85
+ │ │ ├── .gitkeep
86
+ │ │ ├── command.template.md # Command template
87
+ │ │ ├── acp.init.md # @acp-init
88
+ │ │ ├── acp.proceed.md # @acp-proceed
89
+ │ │ ├── acp.status.md # @acp-status
90
+ │ │ └── ... # More commands
91
+ │ │
84
92
  │ ├── design/ # Design documents
85
93
  │ │ ├── .gitkeep
86
94
  │ │ ├── requirements.md # Core requirements
@@ -551,6 +559,91 @@ The Agent Pattern represents a **paradigm shift** in how we approach AI-assisted
551
559
 
552
560
  ---
553
561
 
562
+ ## ACP Commands
563
+
564
+ ACP supports a command system for common workflows. Commands are file-based triggers that provide standardized, discoverable interfaces for ACP operations.
565
+
566
+ ### What are ACP Commands?
567
+
568
+ Commands are markdown files in [`agent/commands/`](agent/commands/) that contain step-by-step instructions for AI agents. Instead of typing long prompts like "AGENT.md: Initialize", you can reference command files like `@acp.init` to trigger specific workflows.
569
+
570
+ **Benefits**:
571
+ - **Discoverable**: Browse [`agent/commands/`](agent/commands/) to see all available commands
572
+ - **Consistent**: All commands follow the same structure
573
+ - **Extensible**: Create custom commands for your project
574
+ - **Self-Documenting**: Each command file contains complete documentation
575
+ - **Autocomplete-Friendly**: Type `@acp.` to see all ACP commands
576
+
577
+ ### Core Commands
578
+
579
+ Core ACP commands use the `acp.` prefix and are available in [`agent/commands/`](agent/commands/):
580
+
581
+ - **[`@acp.init`](agent/commands/acp.init.md)** - Initialize agent context (replaces "AGENT.md: Initialize")
582
+ - **[`@acp.proceed`](agent/commands/acp.proceed.md)** - Continue with next task (replaces "AGENT.md: Proceed")
583
+ - **[`@acp.status`](agent/commands/acp.status.md)** - Display project status
584
+ - **[`@acp.version-check`](agent/commands/acp.version-check.md)** - Show current ACP version
585
+ - **[`@acp.version-check-for-updates`](agent/commands/acp.version-check-for-updates.md)** - Check for ACP updates
586
+ - **[`@acp.version-update`](agent/commands/acp.version-update.md)** - Update ACP to latest version
587
+
588
+ ### Command Invocation
589
+
590
+ Commands are invoked using the `@` syntax with dot notation:
591
+
592
+ ```
593
+ @acp.init → agent/commands/acp.init.md
594
+ @acp.proceed → agent/commands/acp.proceed.md
595
+ @acp.status → agent/commands/acp.status.md
596
+ @deploy.production → agent/commands/deploy.production.md
597
+ ```
598
+
599
+ **Format**: `@{namespace}.{action}` resolves to `agent/commands/{namespace}.{action}.md`
600
+
601
+ ### Creating Custom Commands
602
+
603
+ To create custom commands for your project:
604
+
605
+ 1. **Choose a namespace** (e.g., `deploy`, `test`, `custom`)
606
+ - ⚠️ The `acp` namespace is reserved for core commands
607
+ - Use descriptive, single-word namespaces
608
+
609
+ 2. **Copy the command template**:
610
+ ```bash
611
+ cp agent/commands/command.template.md agent/commands/{namespace}.{action}.md
612
+ ```
613
+
614
+ 3. **Fill in the template sections**:
615
+ - Purpose and description
616
+ - Prerequisites
617
+ - Step-by-step instructions
618
+ - Verification checklist
619
+ - Examples and troubleshooting
620
+
621
+ 4. **Invoke your command**: `@{namespace}.{action}`
622
+
623
+ **Example**: Creating a deployment command:
624
+ ```bash
625
+ # Create the command file
626
+ cp agent/commands/command.template.md agent/commands/deploy.production.md
627
+
628
+ # Edit the file with your deployment steps
629
+ # ...
630
+
631
+ # Invoke it
632
+ @deploy.production
633
+ ```
634
+
635
+ ### Command Template
636
+
637
+ See [`agent/commands/command.template.md`](agent/commands/command.template.md) for the complete command template with all sections and examples.
638
+
639
+ ### Installing Third-Party Commands
640
+
641
+ Use `@acp.install` to install command packages from git repositories (available in future release).
642
+
643
+ **Security Note**: Third-party commands can instruct agents to modify files and execute scripts. Always review command files before installation.
644
+
645
+ ---
646
+
554
647
  ## Sample Prompts for Using ACP
555
648
 
556
649
  ### Initialize Prompt
@@ -882,7 +975,7 @@ This repository is actively maintained with improvements to the ACP methodology
882
975
  ./agent/scripts/update.sh
883
976
 
884
977
  # Or download and run directly
885
- curl -fsSL https://raw.githubusercontent.com/prmichaelsen/agent-context-protocol/mainlin./agent/scripts/update.sh | bash
978
+ curl -fsSL https://raw.githubusercontent.com/prmichaelsen/agent-context-protocol/mainline/agent/scripts/update.sh | bash
886
979
  ```
887
980
 
888
981
  The update script will:
@@ -0,0 +1,347 @@
1
+ # Command: package-install
2
+
3
+ > **🤖 Agent Directive**: If you are reading this file, the command `@acp.package-install` has been invoked. Follow the steps below to execute this command.
4
+
5
+ **Namespace**: acp
6
+ **Version**: 1.0.0
7
+ **Created**: 2026-02-16
8
+ **Last Updated**: 2026-02-16
9
+ **Status**: Active
10
+
11
+ ---
12
+
13
+ **Purpose**: Install third-party command packages from git repositories using the package-install script
14
+ **Category**: Maintenance
15
+ **Frequency**: As Needed
16
+
17
+ ---
18
+
19
+ ## What This Command Does
20
+
21
+ This command installs third-party ACP packages from git repositories by running the `agent/scripts/package-install.sh` script. The script clones the repository and installs files from the `agent/` directory, including commands, patterns, and design documents.
22
+
23
+ Use this command when you want to add community-created commands and patterns, install organization-specific ACP content, or share reusable components across multiple projects. It enables extending ACP with custom functionality, patterns, and documentation.
24
+
25
+ ⚠️ **SECURITY WARNING**: Third-party packages can instruct agents to modify files and execute scripts. Always review package contents before installation. You assume all risk when installing third-party packages.
26
+
27
+ ---
28
+
29
+ ## Prerequisites
30
+
31
+ - [ ] ACP installed in project
32
+ - [ ] Git installed and available
33
+ - [ ] Internet connection available
34
+ - [ ] `agent/scripts/package-install.sh` exists
35
+ - [ ] You trust the source of the commands
36
+ - [ ] You have reviewed the command repository
37
+
38
+ ---
39
+
40
+ ## Steps
41
+
42
+ ### 1. Run Package Install Script
43
+
44
+ Execute the package installation script with the repository URL.
45
+
46
+ **Actions**:
47
+ - Verify `./agent/scripts/package-install.sh` exists
48
+ - Run the script with repository URL as argument:
49
+ ```bash
50
+ # Interactive mode (asks for confirmation)
51
+ ./agent/scripts/package-install.sh <repository-url>
52
+
53
+ # Auto-confirm mode (skips prompts)
54
+ ./agent/scripts/package-install.sh -y <repository-url>
55
+ ```
56
+ - The script will:
57
+ - Validate the repository URL
58
+ - Clone the repository to a temporary location
59
+ - Scan agent/ directory for installable files (commands, patterns, design)
60
+ - Validate command files (agent directive, namespace check)
61
+ - Check for naming conflicts
62
+ - Ask for confirmation (unless -y flag used)
63
+ - Copy files to respective agent/ directories
64
+ - Clean up temporary files
65
+ - Report what was installed
66
+
67
+ **Expected Outcome**: Script completes successfully and files are installed
68
+
69
+ ### 2. Review Installed Files
70
+
71
+ Verify the files were installed correctly.
72
+
73
+ **Actions**:
74
+ - List files in `agent/commands/` to see new commands
75
+ - List files in `agent/patterns/` to see new patterns
76
+ - List files in `agent/design/` to see new designs
77
+ - Read the installed files
78
+ - Verify commands have agent directives
79
+ - Check namespace is not `acp` (reserved for commands)
80
+ - Ensure no malicious content
81
+
82
+ **Expected Outcome**: Files verified safe and functional
83
+
84
+ ### 3. Test Installed Commands
85
+
86
+ Try invoking one of the installed commands (if any).
87
+
88
+ **Actions**:
89
+ - Choose a simple command to test
90
+ - Invoke it using `@{namespace}.{action}` syntax
91
+ - Verify it works as expected
92
+ - Check for any errors
93
+
94
+ **Expected Outcome**: Commands work correctly
95
+
96
+ ### 4. Document Installation
97
+
98
+ Update progress tracking with installation notes.
99
+
100
+ **Actions**:
101
+ - Add note to `agent/progress.yaml` about installed package
102
+ - Document which package was installed
103
+ - Note installation date
104
+ - List installed files (commands, patterns, designs)
105
+
106
+ **Expected Outcome**: Installation tracked in progress
107
+
108
+ ---
109
+
110
+ ## Verification
111
+
112
+ - [ ] package-install.sh script exists
113
+ - [ ] Script executed successfully
114
+ - [ ] Files installed to appropriate agent/ directories
115
+ - [ ] Installed commands reviewed for safety (if any)
116
+ - [ ] Installed patterns reviewed (if any)
117
+ - [ ] Installed designs reviewed (if any)
118
+ - [ ] Commands tested and working (if any)
119
+ - [ ] Installation documented in progress.yaml
120
+ - [ ] No errors during installation
121
+
122
+ ---
123
+
124
+ ## Expected Output
125
+
126
+ ### Files Modified
127
+ - `agent/commands/*.md` - Installed command files (if any)
128
+ - `agent/patterns/*.md` - Installed pattern files (if any)
129
+ - `agent/design/*.md` - Installed design files (if any)
130
+
131
+ ### Console Output
132
+ ```
133
+ 📦 ACP Package Installer
134
+ ========================================
135
+
136
+ Repository: https://github.com/example/fullstack-package.git
137
+
138
+ Cloning repository...
139
+ ✓ Repository cloned
140
+
141
+ Scanning for installable files...
142
+
143
+ 📁 commands/ (3 file(s))
144
+ ✓ deploy.production.md
145
+ ✓ deploy.staging.md
146
+ ⚠ deploy.rollback.md (will overwrite existing)
147
+
148
+ 📁 patterns/ (2 file(s))
149
+ ✓ api-service.md
150
+ ✓ error-handling.md
151
+
152
+ 📁 design/ (1 file(s))
153
+ ✓ deployment-strategy.md
154
+
155
+ Ready to install 6 file(s)
156
+
157
+ Proceed with installation? (y/N) y
158
+
159
+ Installing files...
160
+ ✓ Installed commands/deploy.production.md
161
+ ✓ Installed commands/deploy.staging.md
162
+ ✓ Installed commands/deploy.rollback.md
163
+ ✓ Installed patterns/api-service.md
164
+ ✓ Installed patterns/error-handling.md
165
+ ✓ Installed design/deployment-strategy.md
166
+
167
+ ✅ Installation complete!
168
+
169
+ Installed 6 file(s) from:
170
+ https://github.com/example/fullstack-package.git
171
+
172
+ Installed commands:
173
+ - @deploy.production
174
+ - @deploy.staging
175
+ - @deploy.rollback
176
+
177
+ ⚠️ Security Reminder:
178
+ Review installed files before using them.
179
+ Third-party files can instruct agents to modify files and execute scripts.
180
+
181
+ Next steps:
182
+ 1. Review installed files in agent/ directories
183
+ 2. Test installed commands
184
+ 3. Update progress.yaml with installation notes
185
+ ```
186
+
187
+ ### Status Update
188
+ - Commands installed
189
+ - Installation documented
190
+ - Commands ready to use
191
+
192
+ ---
193
+
194
+ ## Examples
195
+
196
+ ### Example 1: Installing Deployment Commands
197
+
198
+ **Context**: Want to add deployment commands from community
199
+
200
+ **Invocation**: `@acp.package-install https://github.com/example/acp-deploy-package.git`
201
+
202
+ **Result**: Script clones repo, installs 3 commands to agent/commands/, now can use @deploy.production
203
+
204
+ ### Example 2: Installing Patterns Package
205
+
206
+ **Context**: Want to add TypeScript patterns from organization
207
+
208
+ **Invocation**: `@acp.package-install https://github.com/myorg/typescript-patterns.git`
209
+
210
+ **Result**: Script installs 5 pattern files to agent/patterns/, now have reusable TypeScript patterns
211
+
212
+ ### Example 3: Installing Complete Package
213
+
214
+ **Context**: Installing package with commands, patterns, and designs
215
+
216
+ **Invocation**: `@acp.package-install https://github.com/example/fullstack-package.git`
217
+
218
+ **Result**: Script installs 3 commands, 4 patterns, 2 design docs across agent/ directories
219
+
220
+ ### Example 4: Installing with Conflicts
221
+
222
+ **Context**: Installing package that conflicts with existing files
223
+
224
+ **Invocation**: `@acp.package-install https://github.com/example/package.git`
225
+
226
+ **Result**: Script detects conflicts, asks for confirmation, overwrites if approved
227
+
228
+ ---
229
+
230
+ ## Related Commands
231
+
232
+ - [`@acp.validate`](acp.validate.md) - Validate installed commands
233
+ - [`@acp.version-update`](acp.version-update.md) - Update core ACP commands
234
+ - [`@acp.status`](acp.status.md) - View project status
235
+
236
+ ---
237
+
238
+ ## Troubleshooting
239
+
240
+ ### Issue 1: Git clone fails
241
+
242
+ **Symptom**: Cannot clone repository
243
+
244
+ **Cause**: Invalid URL, no internet, or private repository
245
+
246
+ **Solution**: Verify URL is correct, check internet connection, ensure repository is public or you have access
247
+
248
+ ### Issue 2: No commands found
249
+
250
+ **Symptom**: Repository cloned but no commands found
251
+
252
+ **Cause**: Commands not in expected location or wrong structure
253
+
254
+ **Solution**: Check repository structure, look for commands/ directory, verify files are .md format
255
+
256
+ ### Issue 3: Validation fails
257
+
258
+ **Symptom**: Commands fail validation
259
+
260
+ **Cause**: Commands don't follow ACP structure
261
+
262
+ **Solution**: Review command files, ensure they have agent directive and required sections, contact command author
263
+
264
+ ### Issue 4: Namespace conflict
265
+
266
+ **Symptom**: Command uses reserved namespace
267
+
268
+ **Cause**: Command tries to use 'acp' namespace
269
+
270
+ **Solution**: Cannot install - 'acp' namespace is reserved for core commands, contact command author to change namespace
271
+
272
+ ---
273
+
274
+ ## Security Considerations
275
+
276
+ ### ⚠️ CRITICAL SECURITY WARNING
277
+
278
+ **Third-party packages can contain:**
279
+ - **Commands** that instruct agents to modify files and execute scripts
280
+ - **Patterns** that guide code implementation decisions
281
+ - **Designs** that influence architecture and technical decisions
282
+
283
+ **Third-party commands can:**
284
+ - Modify any files in your project
285
+ - Execute shell commands
286
+ - Make network requests
287
+ - Access environment variables
288
+ - Read sensitive data
289
+
290
+ **YOU ASSUME ALL RISK when installing third-party packages.**
291
+
292
+ ### Security Best Practices
293
+
294
+ **Before Installing**:
295
+ 1. Review the repository and command files
296
+ 2. Check the author's reputation
297
+ 3. Read what each command does
298
+ 4. Verify no malicious content
299
+ 5. Test in a non-production environment first
300
+
301
+ **After Installing**:
302
+ 1. Review installed command files
303
+ 2. Test commands in safe environment
304
+ 3. Monitor command behavior
305
+ 4. Remove if suspicious activity
306
+ 5. Keep installation records
307
+
308
+ ### File Access
309
+ - **Reads**: Repository files, existing files in agent/ directories
310
+ - **Writes**: `agent/commands/*.md`, `agent/patterns/*.md`, `agent/design/*.md`
311
+ - **Executes**: `git clone` command, `./agent/scripts/package-install.sh`
312
+
313
+ ### Network Access
314
+ - **APIs**: None directly
315
+ - **Repositories**: Clones from specified git repository
316
+
317
+ ### Sensitive Data
318
+ - **Secrets**: Does not access secrets
319
+ - **Credentials**: May use git credentials for private repos
320
+
321
+ ---
322
+
323
+ ## Notes
324
+
325
+ - Installs from all agent/ directories: commands, patterns, design
326
+ - Only install packages from trusted sources
327
+ - Review all files before installation (commands, patterns, designs)
328
+ - Test in safe environment first
329
+ - Keep record of installed packages
330
+ - Update installed packages periodically
331
+ - Remove unused files
332
+ - Report security issues to package authors
333
+ - Consider forking repositories for stability
334
+ - Pin to specific versions/commits for reproducibility
335
+ - Use `-y` flag for automated/scripted installations
336
+ - Patterns and designs influence agent behavior just like commands
337
+
338
+ ---
339
+
340
+ **Namespace**: acp
341
+ **Command**: package-install
342
+ **Version**: 1.0.0
343
+ **Created**: 2026-02-16
344
+ **Last Updated**: 2026-02-16
345
+ **Status**: Active
346
+ **Compatibility**: ACP 1.1.0+
347
+ **Author**: ACP Project