skills/core/SKILL.md
--- id: core name: Core description: Core shell commands (always available): ls, cd, pwd, cat, less, du, cp, mv, rm, touch, chmod, mkdir, rsync (local filtered copy). Use for listing dirs, disk usage, reading files, copying, moving, deleting, creating dirs/files, and permissions. No need to enable-always installed. --- # Core commands Built-in shell commands. **Always available** - no need to enable in config. Call `run_skill` with **skill: "core"**. Set **command** or **arguments.action** to
npx skillsauth add bishwashere/cowcode skills/coreInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Built-in shell commands. Always available - no need to enable in config.
Call run_skill with skill: "core". Set command or arguments.action to the command name. Set arguments.argv to an array of arguments (e.g. paths, flags).
["-la"], ["-la", "/path"]["/path"]. Returns the resolved path.[]["/path/to/file"]["/path/to/file"] or with flags["-sh", "."], ["-d", "1", "path"]["source", "dest"] or ["-r", "source", "dest"]. Recursive directory copies skip node_modules, .git, .cursor, root-level verify/, typical caches/build outputs, etc., unless the user explicitly wants a full clone-then use fullCopy: true in arguments or --pasture-full-copy as the first argv entry.["source", "dest"]["path"] or ["-r", "path"]["path"]["755", "file"] or ["+x", "file"]["path"] or ["-p", "a/b/c"]rsync: local copy with -a/-av/-n and --exclude=PATTERN rules, then source and destination. Use when the user needs to skip media files, caches by name, or other globs anywhere in the tree.cp when true.Use when the user asks to list a directory, disk usage (du), read a file (cat/less), copy/move/delete files, create a file (touch) or directory (mkdir), or change permissions (chmod). Prefer read skill for reading file contents with line ranges; use core cat/less when the user says "cat", "show file", or "list directory" (ls).
For Pasture/CowCode self-inspection, the fixed runtime home is ~/.pasture. When the user asks about "this project", "your code", "your source", the Pasture agent itself, a local UI route such as /brain, or says "check your code", start with read-only commands against ~/.pasture and its config/log/workspace files before asking for a repo path.
List workspace:
run_skill with skill: "core", arguments: { command: "ls", argv: ["-la"] }
Read a file: arguments: { command: "cat", argv: ["~/.pasture/config.json"] }
tools
Policy-gated command execution for package managers, project generators, build/test scripts, dev servers, and one-off CLIs. Disabled by default; add "exec" to skills.enabled to expose it. Prefer go-read/go-write for stable filesystem primitives.
data-ai
Plain HTTP fetch (GET/POST/etc.) for JSON or text endpoints, including localhost / LAN / Pasture's own dashboard. Use this instead of browse for non-rendered URLs.
testing
Bridge conversation to dashboard Projects and Missions — list configured projects, register new ones with setup details, health-check, propose tasks, create missions after user approval, log progress, and update task status. Use when the user wants to work on, track, or manage a project.
documentation
GitHub integration. Read repos, list/read issues and PRs, create branches, post comments, create PRs. Requires GitHub token in ~/.pasture/secrets.json or GITHUB_TOKEN env var.