docs: add us-cpa openclaw installation guide
This commit is contained in:
@@ -10,6 +10,35 @@ From `skills/us-cpa/`:
|
||||
pip install -e .[dev]
|
||||
```
|
||||
|
||||
## OpenClaw installation
|
||||
|
||||
Install the skill into the OpenClaw workspace copy, not only in the repo checkout.
|
||||
|
||||
1. Sync the skill into the workspace:
|
||||
|
||||
```bash
|
||||
rsync -a --delete \
|
||||
/Users/stefano/.openclaw/workspace/projects/stef-openclaw-skills/skills/us-cpa/ \
|
||||
/Users/stefano/.openclaw/workspace/skills/us-cpa/
|
||||
```
|
||||
|
||||
2. Create a skill-local virtualenv in the workspace copy:
|
||||
|
||||
```bash
|
||||
cd /Users/stefano/.openclaw/workspace/skills/us-cpa
|
||||
python3 -m venv .venv
|
||||
. .venv/bin/activate
|
||||
pip install -e .[dev]
|
||||
```
|
||||
|
||||
3. Run the workspace wrapper:
|
||||
|
||||
```bash
|
||||
~/.openclaw/workspace/skills/us-cpa/scripts/us-cpa --help
|
||||
```
|
||||
|
||||
The wrapper now prefers `~/.openclaw/workspace/skills/us-cpa/.venv/bin/python` when present and falls back to `python3` otherwise.
|
||||
|
||||
## Run
|
||||
|
||||
Installed entry point:
|
||||
@@ -24,6 +53,12 @@ Repo-local wrapper without installation:
|
||||
scripts/us-cpa --help
|
||||
```
|
||||
|
||||
OpenClaw workspace wrapper:
|
||||
|
||||
```bash
|
||||
~/.openclaw/workspace/skills/us-cpa/scripts/us-cpa --help
|
||||
```
|
||||
|
||||
Module execution:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user