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
15 changes: 13 additions & 2 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@
"name": "firecrawl",
"source": "./",
"description": "Scrape, search, crawl, and map the web with a single command.",
"skills": ["./skills/firecrawl-cli"]
"skills": [
"./skills/firecrawl-agent",
"./skills/firecrawl-cli",
"./skills/firecrawl-crawl",
"./skills/firecrawl-download",
"./skills/firecrawl-interact",
"./skills/firecrawl-map",
"./skills/firecrawl-monitor",
"./skills/firecrawl-parse",
"./skills/firecrawl-scrape",
"./skills/firecrawl-search"
]
}
]
}
}
27 changes: 19 additions & 8 deletions .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
{
"name": "firecrawl",
"description": "Scrape, search, crawl, and map the web with a single command.",
"version": "1.0.8",
"author": {
"name": "Firecrawl"
},
"skills": ["./skills/firecrawl-cli"]
}
"name": "firecrawl",
"description": "Scrape, search, crawl, and map the web with a single command.",
"version": "1.0.9",
"author": {
"name": "Firecrawl"
},
"skills": [
"./skills/firecrawl-agent",
"./skills/firecrawl-cli",
"./skills/firecrawl-crawl",
"./skills/firecrawl-download",
"./skills/firecrawl-interact",
"./skills/firecrawl-map",
"./skills/firecrawl-monitor",
"./skills/firecrawl-parse",
"./skills/firecrawl-scrape",
"./skills/firecrawl-search"
]
}
17 changes: 9 additions & 8 deletions .github/workflows/sync-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ on:
push:
branches: [main]
paths:
- 'skills/firecrawl-cli/**'
- 'skills/**'
- '.claude-plugin/**'
- '.github/workflows/sync-plugin.yml'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -34,9 +35,9 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

rm -rf skills/firecrawl-cli
mkdir -p skills/firecrawl-cli
cp -R ../cli/skills/firecrawl-cli/. skills/firecrawl-cli/
rm -rf skills
mkdir -p skills
cp -R ../cli/skills/. skills/

mkdir -p .claude-plugin
cp ../cli/.claude-plugin/plugin.json .claude-plugin/plugin.json
Expand All @@ -53,17 +54,17 @@ jobs:

if ! git rev-parse HEAD >/dev/null 2>&1; then
git checkout -b main
git commit -m "sync Claude plugin from firecrawl/cli (${SHORT_SHA})"
git commit -m "sync Claude plugin skills from firecrawl/cli (${SHORT_SHA})"
git push origin main
else
BRANCH="sync/claude-plugin-${SHORT_SHA}"
git checkout -b "$BRANCH"
git commit -m "sync Claude plugin from firecrawl/cli (${SHORT_SHA})"
git commit -m "sync Claude plugin skills from firecrawl/cli (${SHORT_SHA})"
git push origin "$BRANCH"
PR_URL=$(gh pr create \
--repo firecrawl/firecrawl-claude-plugin \
--title "sync Claude plugin (${SHORT_SHA})" \
--body "Automated sync of \`skills/firecrawl-cli\` and \`.claude-plugin\` from [firecrawl/cli@${SHORT_SHA}](${COMMIT_URL})." \
--title "sync Claude plugin skills (${SHORT_SHA})" \
--body "Automated sync of \`skills/\` and \`.claude-plugin\` from [firecrawl/cli@${SHORT_SHA}](${COMMIT_URL})." \
--base main \
--head "$BRANCH")
echo "Created PR: $PR_URL"
Expand Down
23 changes: 12 additions & 11 deletions .github/workflows/sync-skills.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Sync Firecrawl Skill to Cursor Plugin
name: Sync Firecrawl Skills to Cursor Plugin

on:
push:
branches: [main]
paths:
- 'skills/firecrawl-cli/**'
- 'skills/**'
- '.github/workflows/sync-skills.yml'
workflow_dispatch:

jobs:
Expand All @@ -25,17 +26,17 @@ jobs:
git remote add origin https://x-access-token:${TOKEN}@github.com/firecrawl/firecrawl-cursor-plugin.git
}

- name: Sync firecrawl skill
- name: Sync firecrawl skills
env:
GH_TOKEN: ${{ secrets.FIRECRAWL_SKILLS_SYNC }}
run: |
cd target
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

rm -rf skills/firecrawl
mkdir -p skills/firecrawl
cp -R ../cli/skills/firecrawl-cli/. skills/firecrawl/
rm -rf skills
mkdir -p skills
cp -R ../cli/skills/. skills/

git add -A
if git diff --cached --quiet; then
Expand All @@ -48,17 +49,17 @@ jobs:

if ! git rev-parse HEAD >/dev/null 2>&1; then
git checkout -b main
git commit -m "sync firecrawl skill from firecrawl/cli (${SHORT_SHA})"
git commit -m "sync firecrawl skills from firecrawl/cli (${SHORT_SHA})"
git push origin main
else
BRANCH="sync/cursor-skill-${SHORT_SHA}"
BRANCH="sync/cursor-skills-${SHORT_SHA}"
git checkout -b "$BRANCH"
git commit -m "sync firecrawl skill from firecrawl/cli (${SHORT_SHA})"
git commit -m "sync firecrawl skills from firecrawl/cli (${SHORT_SHA})"
git push origin "$BRANCH"
PR_URL=$(gh pr create \
--repo firecrawl/firecrawl-cursor-plugin \
--title "sync firecrawl skill (${SHORT_SHA})" \
--body "Automated sync of \`skills/firecrawl-cli\` from [firecrawl/cli@${SHORT_SHA}](${COMMIT_URL}) into \`skills/firecrawl\`." \
--title "sync firecrawl skills (${SHORT_SHA})" \
--body "Automated sync of \`skills/\` from [firecrawl/cli@${SHORT_SHA}](${COMMIT_URL}) into \`skills/\`." \
--base main \
--head "$BRANCH")
echo "Created PR: $PR_URL"
Expand Down
Loading