sync-workspace

sync-workspace is a skill for Claude Code, Codex from hydra-db/hydradb-claude-code. It costs 41 tokens per session (186 once invoked), scanned A, original, Apache-2.0.

A command for syncing Markdown files from a workspace into HydraDB, a database used to store workspace context. It is an older alias for the HydraDB ingest command.

In plain words
What is it for?
Use it to scan and sync workspace files, and to see how many were processed, skipped, or stored as memory or knowledge.
Why use it?
It keeps the stored workspace context aligned with current files, while reporting skipped files and errors.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the hydradb plugin — 12 skills, 4 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hydra-db/hydradb-claude-code/sync-workspace
Any agent
npx skills add hydra-db/hydradb-claude-code --skill sync-workspace
Clone the repo
git clone --depth 1 https://github.com/hydra-db/hydradb-claude-code

Made for: Claude Code, Codex.

Or install hydradb, the plugin that ships this one along with the rest of its 12 skills, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sync-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/hydra-db/hydradb-claude-code/sync-workspace.svg)](https://agentmods.dev/skills/hydra-db/hydradb-claude-code/sync-workspace)
Your own site
<a href="https://agentmods.dev/skills/hydra-db/hydradb-claude-code/sync-workspace"><img src="https://agentmods.dev/badge/skills/hydra-db/hydradb-claude-code/sync-workspace.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 186 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00041 $0.00186
Opus 5 $0.00020 $0.00093
Sonnet 5 $0.00008 $0.00037
Haiku 4.5 $0.00004 $0.00019

Measured 3d ago against content hash 0e4d1f0021d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sync-workspace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/sync-workspace/SKILL.md · 25 lines

What it actually says

Sync the current workspace context files into HydraDB:

node "${CLAUDE_PLUGIN_ROOT}/scripts/plugin.mjs" ingest --json $ARGUMENTS

Report:

  • how many files were scanned
  • how many were synced
  • how many were skipped
  • any errors

If the user asks why specific files were skipped, explain it from the JSON output and the current config. Remember that the sync path may redact or skip sensitive-looking content before upload.

Also mention whether files were synced as memory or knowledge, since that depends on ingestionMode.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 25 lines · 41 tokens per session scan A 0e4d1f0021d1

Subscribe to this mod's changes

sync-workspace is a skill published in the GitHub repository hydra-db/hydradb-claude-code (2 stars, last pushed 6d ago), licensed Apache-2.0. It adds 41 tokens to every session and 186 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

manage-mcp-servers

Add, remove, list, or manage MCP servers in the OpenClaw MCP bridge. Use when installing new servers, removing existing ones, listing available/installed servers, checking server status, or troubleshooting MCP connection issues.

AIWerk/openclaw-mcp-bridge · 50 tokens

korean-autopilot

한국어로 Claude Code 사용법을 묻거나, 한국어로 작업을 지시하는 사용자를 자동으로 감지하고 적절한 Claude Code 커맨드를 실행하거나 안내합니다. Automatically detects Korean-speaking users and helps them navigate Claude Code by executing or suggesting the right commands based on natural language input. Triggers when: user speaks Korean and asks about Claude Code commands…

shinhyukahn/cck · 123 tokens

sync-claude-skills-to-codex

Sync Claude Code skills (plugins + personal) to Codex CLI by copying folders. Creates /bin/list-skills enumerator for skill discovery. Run after installing new Claude plugins.

ariccb/sync-claude-skills-to-codex · 47 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

golden-rss

Use when testing the rss golden build.

yusufkaraaslan/Skill_Seekers · 12 tokens

overleaf-sync

Two-way sync between a local paper directory and an Overleaf project, so ARIS audit/edit workflows stay on the local copy while collaborators edit in the Overleaf web UI. Use when user says "同步 overleaf", "overleaf sync", "推送到 overleaf", "connect overleaf", "Overleaf 桥接", "pull overleaf", "push overleaf", or wants to…

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens