تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

shelv

بواسطة joshuaohanlon

Web & Frontend Development
358التنزيلات وفق ما يذكره clawskills.sh
2النجوم
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط