Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ Choose the pattern that fits your task:
### 1. Fork & Create

```bash
git clone https://github.com/YOUR-USERNAME/agent-skills.git
# Fork the repo on GitHub, then clone your fork:
git clone https://github.com/<your-username>/agent-skills.git
cd agent-skills
mkdir -p skills/my-new-skill # or prompts/ or clawdbot/
```
Expand Down
4 changes: 2 additions & 2 deletions clawdbot/clawddocs/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ See `./snippets/common-configs.md` for ready-to-use configuration patterns:
- For complex questions, search the full-text index
- Check `recent.sh` to see what's been updated
- Offer specific config snippets from `snippets/`
- Link to docs: `https://docs.clawd.bot/<path>`
- Link to docs: `https://docs.openclaw.ai/<path>`

## Example Interactions

Expand All @@ -156,7 +156,7 @@ See `./snippets/common-configs.md` for ready-to-use configuration patterns:
}
}
```
4. Link: https://docs.clawd.bot/providers/discord
4. Link: https://docs.openclaw.ai/providers/discord

**User:** "What's new in the docs?"

Expand Down
2 changes: 1 addition & 1 deletion clawdbot/clawddocs/scripts/fetch-doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ if [ -z "$1" ]; then
echo "Usage: fetch-doc.sh <path>"
exit 1
fi
echo "Fetching: https://docs.clawd.bot/$1"
echo "Fetching: https://docs.openclaw.ai/$1"
4 changes: 2 additions & 2 deletions clawdbot/clawddocs/scripts/sitemap.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
# Sitemap generator - shows all docs by category
echo "Fetching Clawdbot documentation sitemap..."
echo "Fetching OpenClaw documentation sitemap..."

# Categories structure based on docs.clawd.bot
# Categories structure based on docs.openclaw.ai
CATEGORIES=(
"start"
"gateway"
Expand Down
12 changes: 6 additions & 6 deletions clawdbot/skill-sync/scripts/skill-sync
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
set -euo pipefail

# Configuration
REPO_URL="https://github.com/PSPDFKit/clawdbot-skills.git"
REPO_DIR="${CLAWDBOT_SKILLS_REPO:-$HOME/.clawdbot-skills-repo}"
REPO_URL="https://github.com/jdrhyne/agent-skills.git"
REPO_DIR="${AGENT_SKILLS_REPO:-$HOME/.agent-skills-repo}"
LOCAL_SKILLS_DIR="${CLAWD_SKILLS_DIR:-$HOME/clawd/skills}"

# Colors
Expand Down Expand Up @@ -204,13 +204,13 @@ ${skill_desc}
*Created via \`skill-sync push\`*"

pr_url=$(gh pr create \
--repo PSPDFKit/clawdbot-skills \
--repo jdrhyne/agent-skills \
--title "$action $skill_name skill" \
--body "$pr_body" \
--head "$branch_name" \
--base main 2>&1) || {
error "Failed to create PR. You can create it manually at:"
echo " https://github.com/PSPDFKit/clawdbot-skills/compare/$branch_name"
echo " https://github.com/jdrhyne/agent-skills/compare/$branch_name"
git checkout main
exit 1
}
Expand All @@ -230,7 +230,7 @@ cmd_update() {
# Show help
cmd_help() {
cat <<EOF
skill-sync - Manage Clawdbot skills from shared repository
skill-sync - Manage OpenClaw skills from shared repository

Usage: skill-sync <command> [args]

Expand All @@ -243,7 +243,7 @@ Commands:
help Show this help

Configuration:
CLAWDBOT_SKILLS_REPO Repo clone location (default: ~/.clawdbot-skills-repo)
AGENT_SKILLS_REPO Repo clone location (default: ~/.agent-skills-repo)
CLAWD_SKILLS_DIR Local skills dir (default: ~/clawd/skills)

EOF
Expand Down
10 changes: 5 additions & 5 deletions skills/context-recovery/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ message:read

```bash
# Find most recent session files for this agent
SESSION_DIR=$(ls -d ~/.clawdbot-*/agents/*/sessions 2>/dev/null | head -1)
SESSION_DIR=$(ls -d ~/.openclaw*/agents/*/sessions 2>/dev/null | head -1)
SESSIONS=$(ls -t "$SESSION_DIR"/*.jsonl 2>/dev/null | head -3)

for SESSION in $SESSIONS; do
Expand All @@ -102,10 +102,10 @@ done
```bash
# Extract keywords from channel history (project names, PR numbers, branch names)
# Search memory for relevant entries
grep -ri "<keyword>" ~/clawd-*/memory/ 2>/dev/null | head -10
grep -ri "<keyword>" ~/.openclaw*/memory/ 2>/dev/null | head -10

# Check for recent daily logs
ls -t ~/clawd-*/memory/202*.md 2>/dev/null | head -3 | xargs grep -l "<keyword>" 2>/dev/null
ls -t ~/.openclaw*/memory/202*.md 2>/dev/null | head -3 | xargs grep -l "<keyword>" 2>/dev/null
```

### Step 5: Synthesize Context
Expand Down Expand Up @@ -156,7 +156,7 @@ Compile a structured summary:

```bash
# Write to daily memory file
MEMORY_FILE=~/clawd-*/memory/$(date +%Y-%m-%d).md
MEMORY_FILE=~/.openclaw*/memory/$(date +%Y-%m-%d).md

cat >> "$MEMORY_FILE" << EOF

Expand Down Expand Up @@ -265,7 +265,7 @@ User message: "did this happen?"
> **Recovered state:**
> - PR #137: 15,053 additions, 91 files, CONFLICTING merge state
> - Spec location: `content/spec-skills-agents-system.md` (2,067 lines)
> - Nexus sessions: `~/.clawdbot-duke-leto/archive/nexus-sessions/` (96 files)
> - Nexus sessions: `~/.openclaw-<profile>/archive/nexus-sessions/` (96 files)
>
> Shall I proceed with the extraction?"

Expand Down
Loading
Loading