mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-03 07:57:22 +00:00
AGENTS.md: shell commands
This commit is contained in:
1 file changed
+10
@@ -49,6 +49,16 @@ Shakespeare provides AI agents with specialized tools for project development (n
|
||||
- **NostrFetchEventTool**: Fetch Nostr events using NIP-19 identifiers
|
||||
- **NostrGenerateKindTool**: Generate unused Nostr event kind numbers
|
||||
|
||||
#### Shell Commands
|
||||
|
||||
Shakespeare provides a comprehensive set of shell commands that are JavaScript reimplementations of common Unix commands. These commands operate on the virtual filesystem (VFS) and are accessible through the ShellTool. The shell commands are implemented in `src/lib/commands/` and provide familiar Unix-like functionality for file and directory operations.
|
||||
|
||||
**Available Commands:**
|
||||
- **File Operations**: `cat`, `cp`, `mv`, `rm`, `touch`, `find`, `grep`
|
||||
- **Directory Operations**: `cd`, `ls`, `mkdir`, `pwd`, `tree`
|
||||
- **System Commands**: `echo`, `which`, `wc`, `head`, `tail`
|
||||
- **Git Commands**: `git add`, `git commit`, `git push`, `git pull`, `git status`, `git log`, etc.
|
||||
|
||||
#### Security
|
||||
|
||||
AI filesystem access through tools (including shell commands via ShellTool) has path restrictions to ensure safe operation:
|
||||
|
||||
Reference in new issue
Block a user