跳到正文
TakoAPI
返回技能列表

shelv

由 joshuaohanlon 提供

Web & Frontend Development
358下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Convert PDFs into structured Markdown filesystems and hydrate them into your workspace for exploration.

描述

该技能的功能

Shelv converts PDF documents into structured Markdown filesystems accessible via standard Unix tools. Upload a PDF through the API, wait for async processing, then extract the result into your workspace as real files. Supports templates for books, legal contracts, and academic papers.

Converts opaque PDFs into grep-able, find-able Markdown files without any custom parsing code or PDF libraries.

何时使用

  • Searching a legal contract for specific clauses with grep
  • Extracting chapters from a research paper into browsable files
  • Converting a regulatory document for version-controlled editing
  • Scanning a book's structure before reading
  • Pulling targeted sections from a PDF without downloading the full archive

示例工作流

输入

User asks: convert contract.pdf into searchable files and find all force majeure clauses

智能体
  1. 1

    Upload contract.pdf using shelv-upload.sh with --template legal-contract and capture the shelf ID

  2. 2

    Poll processing status with shelv-poll-status.sh until shelf reaches ready state

  3. 3

    Hydrate the shelf into the workspace using shelv-hydrate.sh

  4. 4

    Run grep -r "force majeure" over the hydrated directory to find matching files

  5. 5

    Read matching clause files with cat

输出

Markdown files for each contract section under ~/.openclaw/workspace/shelves/contract/, with force majeure clause content printed to terminal

前置要求

  • SHELV_API_KEY environment variable
  • Shelv account at shelv.dev

安装

clawhub install joshuaohanlon/shelv

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接