Skills Plugins MCP Prompt Model 博客 我的中心
生活与工具 #excel #ai #agent

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when agents need to read attached Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF files without uploading them to a hosted parser.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=nanocoai-nanoclaw-claude-skills-add-anydoc-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name add-anydoc description Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when agents need to read attached Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF files without uploading them to a hosted parser. Add AnyDoc Install one pinned CLI and one focused container skill. Keep document conversion inside the agent container; do not change NanoClaw's attachment pipeline or add credentials, an MCP server, or a hosted parser. Preflight Read CONTRIBUTING.md , docs/skill-guidelines.md , and the supply-chain section of docs/SECURITY.md . Run this check against the official npm registry before changing files: curl -fsSL "https://registry.npmjs.org/@firecrawl%2Fanydoc" | node -e ' let body = ""; process.stdin.setEncoding("utf8"); process.stdin.on("data", (chunk) => (body += chunk)); process.stdin.on("end", () => { const metadata = JSON.parse(body); const version = "0.1.6"; const release = metadata.versions?.[version]; const publishedAt = Date.parse(metadata.time?.[version] ?? ""); const eligibleAt = publishedAt + 72 * 60 * 60 * 1000; if (!release) throw new Error(`${version} is missing from the registry`); if (release.deprecated) throw new Error(`${version} is deprecated: ${release.deprecated}`); if (!Number.isFinite(publishedAt)) throw new Error(`missing publish time for ${version}`); if (Date.now() < eligibleAt) throw new Error(`${version} is gated until ${new Date(eligibleAt).toISOString()}`); console.log(`${version} passed the 72-hour release gate`); }); ' Stop on any failure. Do not install a PR commit, add a minimumReleaseAgeExclude , enable lifecycle scripts, or silently substitute another version, unless the user explicitly approves it. Inspect container/cli-tools.json for @firecrawl/anydoc before changing files: No entry: continue. Exactly one entry at 0.1.6 : leave it unchanged. A duplicate or any other version: stop and report the conflict. Check whether container/skills/convert-documents-to-markdown/SKILL.md and src/anydoc-manifest.test.ts already exist. Reapplying this skill overwrites only those dedicated files. If data/v2.db exists, inspect per-group image pins before changing files. Standard derived images can be rebuilt from the updated shared image. Stop and report any other pin because its owner must decide how to rebuild it: if [ -f data/v2.db ]; then source setup/lib/install-slug.sh image_base= " $(container_image_base) " foreign=0 while IFS= '|' read -r group_id image_tag package_count; do [ -z " $group_id " ] && continue if [ " $image_tag " != " ${image_base} : ${group_id} " ]; then echo "Foreign image pin: $group_id -> $image_tag " >&2 foreign=1 elif [ " $package_count " -eq 0 ]; then echo "Derived image cannot be rebuilt: $group_id has no configured packages" >&2 foreign=1 elif ! ncl groups get -- id " $group_id " >/dev/null; then echo "Cannot reach NanoClaw through ncl for derived image: $group_id " >&2 foreign=1 fi done < <(pnpm exec tsx scripts/q.ts data/v2.db \ "SELECT agent_group_id, image_tag, COALESCE(json_array_length(packages_apt), 0) + COALESCE(json_array_length(packages_npm), 0) FROM container_configs WHERE image_tag IS NOT NULL ORDER BY agent_group_id" ) [ " $foreign " -eq 0 ] fi Install Resolve this skill's bundled files from either Claude Code's skill variable or the project skill directory, then copy both files: project_root= " $(git rev-parse --show-toplevel) " skill_dir= " ${CLAUDE_SKILL_DIR:- $project_root /.claude/skills/add-anydoc} " test -f " $skill_dir /container-skills/convert-documents-to-markdown/SKILL.md" test -f " $skill_dir /anydoc-manifest.test.ts" mkdir -p container/skills/convert-documents-to-markdown cp " $skill_dir /container-skills/convert-documents-to-markdown/SKILL.md" \ container/skills/convert-documents-to-markdown/SKILL.md cp " $skill_dir /anydoc-manifest.test.ts" src/anydoc-manifest.test.ts If the manifest has no AnyDoc entry, append this exact object to its JSON array. Do not add onlyBuilt ; the package and its prebuilt Linux bindings have no install lifecycle script. { "name" : "@firecrawl/anydoc" , "version" : "0.1.6" } Validate and build Run validation before building the image: pnpm exec vitest run src/anydoc-manifest.test.ts container/cli-tools.test.ts pnpm run build ./container/build.sh If pnpm rejects the package as too new, stop. Do not bypass the release-age policy. Rebuild standard per-group images so groups with custom packages inherit the updated shared image: if [ -f data/v2.db ]; then source setup/lib/install-slug.sh image_base= " $(container_image_base) " while IFS= '|' read -r group_id image_tag; do [ -z " $group_id " ] && continue if [ " $image_tag " != " ${image_base} : ${group_id} " ]; then echo "Foreign image pin appeared during install: $group_id -> $image_tag " >&2 exit 1 fi ncl groups restart -- id " $group_id " --rebuild done < <(pnpm exec tsx scripts/q.ts data/v2.db \ "SELECT agent_group_id, image_tag FROM container_configs WHERE image_tag IS NOT NULL ORDER BY agent_group_id" ) fi Resolve this install's image name and exercise the native binding, not only the help path: source setup/lib/install-slug.sh image= " $(container_image_base) :latest" docker run -- rm --entrypoint anydoc " $image " --version printf 'name,count\nalpha,2\n' | \ docker run -- rm -i --entrypoint anydoc " $image " - --format csv | grep -q alpha docker run -- rm --entrypoint sh " $image " -c 'command -v timeout' If timeout is absent, remove its wrapper from the installed container skill; do not add another dependency. Convert local DOCX, PPTX, and XLSX fixtures when available. Do not add private or large binary fixtures to the repository. Restart Restart this NanoClaw service only, so its running containers stop and default skills: "all" groups receive the new shared skill on their next spawn: source setup/lib/install-slug.sh # macOS launchctl kickstart -k "gui/ $(id -u) / $(launchd_label) " # Linux systemctl --user restart " $(systemd_unit) " Run only the command for the current platform. If NanoClaw is not service-managed, stop this install's running agent containers by their nanoclaw-install=<install-slug> label instead of matching every nanoclaw-v2 container on the host. Smoke test Use one real channel attachment and verify the complete path: Confirm the message supplies an absolute local path such as /workspace/inbox/<message-id>/<file> , and use that exact path. Convert it to /workspace/agent/converted/ and summarize only the relevant Markdown sections. Confirm an image-only PDF fails clearly and is not uploaded anywhere. For agents open to unknown senders, recommend an operator-set CONTAINER_MEMORY_LIMIT ; AnyDoc's parser caps decompression, but NanoClaw containers have no memory limit by default. Report that office documents now convert locally. Call out that scanned PDFs need OCR, embedded visuals may be incomplete, and spreadsheet Markdown is not authoritative for calculations.
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。