mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 06:12:14 +08:00
Implement a skills framework that enables specialized workflows for specific tasks (e.g., PDF processing, web page generation). Skills are discovered from the skills/ directory and automatically mounted in sandboxes with path mapping support. - Add SkillsConfig for configuring skills path and container mount point - Implement dynamic skill loading from SKILL.md files with YAML frontmatter - Add path mapping in LocalSandbox to translate container paths to local paths - Mount skills directory in AIO Docker sandbox containers - Update lead agent prompt to dynamically inject available skills - Add setup documentation and expand config.example.yaml Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
362 B
Python
13 lines
362 B
Python
import sys
|
|
from pypdf import PdfReader
|
|
|
|
|
|
# Script for Claude to run to determine whether a PDF has fillable form fields. See forms.md.
|
|
|
|
|
|
reader = PdfReader(sys.argv[1])
|
|
if (reader.get_fields()):
|
|
print("This PDF has fillable form fields")
|
|
else:
|
|
print("This PDF does not have fillable form fields; you will need to visually determine where to enter data")
|