Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

Merge origin/main into feat/claude-desktop-mcpb-bundle

Trevin Chowff22e1cd187d
diff --cc .github/workflows/release.yml
index 7a4d440e,82730e8f..f17377a4
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@@ -7,119 -7,37 +7,135 @@@ on
permissions:
contents: write
+ id-token: write
+ attestations: write
+
jobs:
- build-and-release:
+ # Build the existing .skill artifact (Claude Code / Codex / Cursor install
+ # surface). Unchanged from prior versions; just isolated into its own job
+ # so the .mcpb matrix can run in parallel.
+ build-skill:
runs-on: ubuntu-latest
+ permissions:
+ contents: write
++ id-token: write
++ attestations: write
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
+ persist-credentials: false
- name: Build .skill artifact
run: |
bash skills/last30days/scripts/build-skill.sh
test -f dist/last30days.skill
+ - name: Attest .skill artifact provenance
+ uses: actions/attest-build-provenance@v4
+ with:
+ subject-path: dist/last30days.skill
+
+ - name: Upload skill artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: last30days-skill
+ path: dist/last30days.skill
+
+ # Cross-compile the Go MCP server for each Claude Desktop platform and
+ # package each as a .mcpb. printing-press bundle handles the manifest +
+ # zip layout; we only supply the pre-built binary via --skip-build.
+ build-mcpb:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - goos: darwin
+ goarch: arm64
+ platform: darwin/arm64
+ - goos: darwin
+ goarch: amd64
+ platform: darwin/amd64
+ - goos: linux
+ goarch: amd64
+ platform: linux/amd64
+ steps:
+ - name: Checkout
- uses: actions/checkout@v4
++ uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
++ with:
++ persist-credentials: false
+
+ - name: Set up Go
+ uses: actions/setup-go@v5
+ with:
+ go-version: stable
+
+ - name: Install printing-press
+ # Pin to a known-good PP release so the bundle command's behavior
+ # is deterministic across our tags. Bump deliberately when adopting
+ # a newer PP version. GOSUMDB=off skips the sumdb 404 some
+ # private-namespaced go install calls hit even when the repo is
+ # public; harmless here because the module path is fully qualified.
+ env:
+ GOPRIVATE: github.com/mvanhorn/*
+ GOSUMDB: "off"
+ run: go install github.com/mvanhorn/cli-printing-press/v4/cmd/[email protected]
+
+ - name: Sync engine into vendored/
+ run: bash mcp/scripts/sync-engine.sh
+
+ - name: Build MCP binary
+ env:
+ GOOS: ${{ matrix.goos }}
+ GOARCH: ${{ matrix.goarch }}
+ CGO_ENABLED: "0"
+ run: |
+ mkdir -p mcp/build
+ go -C mcp build \
+ -ldflags "-X main.Version=${{ github.ref_name }}" \
+ -o build/last30days-pp-mcp \
+ ./cmd/last30days-pp-mcp
+
+ - name: Bundle .mcpb
+ # printing-press bundle reads manifest.json from the cli dir and
+ # rewrites the binary into bin/<entry_point> inside the zip. The
+ # --platform tag drives the output filename suffix; the binary
+ # itself is whatever we just cross-compiled.
+ run: |
+ printing-press bundle mcp \
+ --skip-build \
+ --binary mcp/build/last30days-pp-mcp \
+ --platform ${{ matrix.platform }} \
+ --output mcp/build/last30days-pp-mcp-${{ matrix.goos }}-${{ matrix.goarch }}.mcpb
+
+ - name: Upload .mcpb artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: mcpb-${{ matrix.goos }}-${{ matrix.goarch }}
+ path: mcp/build/last30days-pp-mcp-${{ matrix.goos }}-${{ matrix.goarch }}.mcpb
+
+ # Gather every platform artifact and attach to one GitHub release.
- # release-notes generation reads commits since the prior tag.
+ release:
+ needs: [build-skill, build-mcpb]
+ runs-on: ubuntu-latest
++ permissions:
++ contents: write
+ steps:
+ - name: Download all artifacts
+ uses: actions/download-artifact@v4
+ with:
+ path: dist
+ merge-multiple: true
+
- name: Create GitHub release
- uses: softprops/action-gh-release@v2
- with:
- files: |
- dist/last30days.skill
- dist/last30days-pp-mcp-*.mcpb
- generate_release_notes: true
- draft: false
- prerelease: false
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: |
+ gh release create "${GITHUB_REF_NAME}" \
+ dist/last30days.skill \
++ dist/last30days-pp-mcp-*.mcpb \
+ --generate-notes \
+ --verify-tag
diff --cc .gitignore
index 877b2e7d,7b7b27e5..a4a4e6e7
--- a/.gitignore
+++ b/.gitignore
@@@ -26,14 -26,9 +26,18 @@@ htmlcov
# build artifact from scripts/build-skill.sh
/dist/
+# Go MCP bundle build outputs - source of truth for vendored/ stays under
+# skills/last30days/scripts/; build/ holds cross-compiled binaries + .mcpb files.
+# vendored/ lives inside the engine package because //go:embed cannot reach
+# outside its own package directory; the .gitkeep anchor stays tracked so
+# the embed pattern always finds a match even before sync-engine runs.
+/mcp/internal/engine/vendored/*
+!/mcp/internal/engine/vendored/.gitkeep
+/mcp/build/
+
# Internal planning docs (ce:plan output) — keep local, don't publish
docs/plans/
+ .context/
+
+ /work
+ /print
diff --cc README.md
index efbc92bb,6cffab4f..32a3fa19
--- a/README.md
+++ b/README.md
@@@ -168,9 -173,8 +173,9 @@@ Say "eli5 on" after any research run. T
| Surface | Install | Updates |
|---------|---------|---------|
| **Claude Code** (recommended) | `/plugin marketplace add mvanhorn/last30days-skill` | Auto via marketplace, or `claude plugin update last30days@last30days-skill` |
- | **Codex, Cursor, Copilot, Gemini CLI, GitHub Copilot, or any of 50+ [Agent Skills](https://agentskills.io) hosts** | `npx skills add mvanhorn/last30days-skill -g` | `npx skills update last30days -g` |
- | **claude.ai** (web) | [Download `last30days.skill`](https://github.com/mvanhorn/last30days-skill/releases/latest/download/last30days.skill) and upload via Settings > Capabilities > Skills > + | Re-download and re-upload |
+ | **Codex, Cursor, Copilot, Gemini CLI, or any of 50+ [Agent Skills](https://agentskills.io) hosts** | `npx skills add mvanhorn/last30days-skill -g` | `npx skills update last30days -g` |
+ | **claude.ai** (web) | [Download `last30days.skill`](https://github.com/mvanhorn/last30days-skill/releases/latest/download/last30days.skill) and upload via claude.ai > Customize > Skills > + > Create skill > Upload a skill | Re-download and re-upload |
+| **Claude Desktop** | [Download the `.mcpb` for your platform](https://github.com/mvanhorn/last30days-skill/releases/latest) and drag into Settings > Extensions | Re-download and drag the new bundle in |
| **OpenClaw** | `clawhub install last30days-official` | `clawhub update last30days-official` |
### Claude Code (recommended)