Restructure docs and simplify README
- Rewrite main README as project intro + info pointers - Keep skills table focused on current 2 skills - Add docs/README.md index with links to skill docs - Add detailed docs for gitea-api and web-automation
This commit is contained in:
50
README.md
50
README.md
@@ -1,51 +1,25 @@
|
||||
# Stefano's openclaw Skills
|
||||
# stef-openclaw-skills
|
||||
|
||||
A curated collection of OpenClaw skills by Stefano.
|
||||
A curated collection of practical OpenClaw skills by Stefano.
|
||||
|
||||
This repository is organized so an OpenClaw bot can install one or more skills directly from the repo URL/path.
|
||||
This repository is intended to be a simple skill source: install the repo (or a single skill path), then use each skill through OpenClaw.
|
||||
|
||||
## Repository Layout
|
||||
## Where to get information
|
||||
|
||||
```text
|
||||
stef-openclaw-skills/
|
||||
├── README.md
|
||||
└── skills/
|
||||
└── gitea-api/
|
||||
├── SKILL.md
|
||||
└── scripts/
|
||||
├── gitea.py
|
||||
└── gitea.sh
|
||||
```
|
||||
- Skill docs index: [`docs/README.md`](docs/README.md)
|
||||
- Skill implementation files: `skills/<skill-name>/`
|
||||
- Per-skill runtime instructions: `skills/<skill-name>/SKILL.md`
|
||||
|
||||
## Skills
|
||||
|
||||
| Skill | Purpose | Path |
|
||||
| Skill | What it does | Path |
|
||||
|---|---|---|
|
||||
| `gitea-api` | Interact with any Gitea instance via REST API (create repos, issues, PRs, releases, branches, clone) without `tea` CLI. | `skills/gitea-api` |
|
||||
| `web-automation` | Browse and scrape web pages using Playwright with Camoufox anti-detection browser. For automating web workflows, extracting page content to markdown, handling authenticated sessions, or scraping websites with bot protection. | `skills/web-automation` |
|
||||
| `gitea-api` | Interact with Gitea via REST API (repos, issues, PRs, releases, branches, user info). | `skills/gitea-api` |
|
||||
| `web-automation` | Automate browsing/scraping with Playwright + Camoufox (auth flows, extraction, bot-protected sites). | `skills/web-automation` |
|
||||
|
||||
## Skill-Specific Requirements
|
||||
|
||||
### web-automation
|
||||
|
||||
The `web-automation` skill requires Node.js packages to be installed. When compiling OpenClaw with support for this skill, add the required system libraries:
|
||||
|
||||
```bash
|
||||
# For Playwright + Camoufox browser dependencies
|
||||
export OPENCLAW_DOCKER_APT_PACKAGES="ffmpeg jq curl libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2"
|
||||
```
|
||||
|
||||
After installing the skill, run the first-time setup:
|
||||
|
||||
```bash
|
||||
cd ~/.openclaw/workspace/skills/web-automation/scripts
|
||||
pnpm install
|
||||
npx camoufox-js fetch
|
||||
```
|
||||
|
||||
## Install Ideas
|
||||
## Install ideas
|
||||
|
||||
- Install the whole repo as a skill source.
|
||||
- Install a single skill by path from this repo (e.g. `skills/gitea-api`).
|
||||
- Install a single skill by path (example: `skills/gitea-api`).
|
||||
|
||||
(Exact install command can vary by OpenClaw/ClawHub version.)
|
||||
|
||||
Reference in New Issue
Block a user