convert-documents-to-m…
Convert an attached Word document, presentation, spreadsheet, OpenDocument file, RTF, EPUB, CSV, or text-based PDF into local Markdown. Use when a message…
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.
$ npx -y skills add nanocoai/nanoclaw --skill add-anydoc --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/add-anydocContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
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.
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.
1. Read `CONTRIBUTING.md`, `docs/skill-guidelines.md`, and the supply-chain section of `docs/SECURITY.md`. 2. 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.
3. Inspect `container/cli-tools.json` for `@firecrawl/anydoc` before changing files:
4. 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. 5. 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 ]
fiResolve 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.tsIf 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" }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")
fiResolve 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
A lightweight alternative to OpenClaw that runs in containers for security. Connects to WhatsApp, Telegram, Slack, Discord, Gmail and other messaging apps,, has memory, scheduled jobs, and runs directly on Anthropic's Agents SDK
Repo: nanocoai/nanoclaw
Convert an attached Word document, presentation, spreadsheet, OpenDocument file, RTF, EPUB, CSV, or text-based PDF into local Markdown. Use when a message…
Add Atomic Chat MCP server so the container agent can call local models served by the Atomic Chat desktop app via its OpenAI-compatible API.
Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that lists resources as JSON. Ships pre-wired…
Use Codex (OpenAI's codex app-server) as a full agent provider — planning, tool orchestration, MCP tools, server-side history, session resume — alongside or…
Add a monitoring dashboard to NanoClaw. Installs @nanoco/nanoclaw-dashboard and a pusher that sends periodic JSON snapshots.
Add DeltaChat channel integration via @deltachat/stdio-rpc-server. Native adapter — no Chat SDK bridge. Email-based messaging with end-to-end encryption.