file-ops

file-ops is a skill for Claude Code from cardstack/boxel. It costs 45 tokens per session (1,418 once invoked), scanned A, original, MIT.

A guide to reading, writing, listing, deleting, checking, and re-indexing one file in a Boxel realm. A realm is a hosted workspace for Boxel files and data.

In plain words
What is it for?
Use it to edit individual realm files, lint card definitions, inspect available files, remove files, or force the realm to re-index them.
Why use it?
It provides a focused alternative to syncing an entire workspace when only one or two files need attention, and it helps refresh the realm's derived index when it is out of date.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the boxel-cli plugin — 9 skills shipped together

Good fit Use it to edit individual realm files, lint card definitions, inspect available files, remove files, or force the realm to re-index them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cardstack/boxel/file-ops
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.

Any agent
npx skills add cardstack/boxel --skill file-ops
Clone the repo
git clone --depth 1 https://github.com/cardstack/boxel

Made for: Claude Code.

Or install boxel-cli, the plugin that ships this one along with the rest of its 9 skills.

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 file-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/cardstack/boxel/file-ops/github.svg)](https://agentmods.dev/skills/cardstack/boxel/file-ops)
Your own site
<a href="https://agentmods.dev/skills/cardstack/boxel/file-ops"><img src="https://agentmods.dev/badge/skills/cardstack/boxel/file-ops/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for file-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/cardstack/boxel/file-ops"><img src="https://agentmods.dev/badge/skills/cardstack/boxel/file-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,418 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00045 $0.01418
Opus 5.5 $0.00018 $0.00567
Sonnet 5.5 $0.00009 $0.00284
Haiku 4.5 $0.00005 $0.00142

Measured yesterday against content hash 7ee88432a606, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

file-ops 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 yesterday.

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.

packages/boxel-cli/plugin/skills/file-ops/SKILL.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

File operations

Wraps the boxel file subcommands that operate on a single path inside a realm. Prefer these over realm sync / realm push when only one or two files need to move.

When the user asks to...

The realm URL is always passed via --realm, the realm-relative path is positional.

Ask Run
"read a file from the realm" boxel file read <path> --realm <realm-url>
"write / upload one file" boxel file write <path> --realm <realm-url> (content from stdin or --file)
"list files in a realm" boxel file list --realm <realm-url>
"delete a file from the realm" boxel file delete <path> --realm <realm-url>
"lint a card definition" / "check for errors" boxel file lint <path> --realm <realm-url>
"force re-index this file" boxel file touch <path> --realm <realm-url>
"force re-index everything" boxel file touch --all --realm <realm-url> (use sparingly)

touch — when it matters

boxel file touch is the escape hatch for "the realm has the right file but wrong derived state." Common cases:

  • A .gts definition was updated remotely but instances using it still show the old shape — touch one instance to force re-indexing.
  • A linked card was renamed and dependents haven't picked up the new path.

Touch is cheap. Reach for it when you suspect indexing didn't pick up a recent change.

lint — what it checks

boxel file lint runs the realm's lint endpoint against a file. It catches Boxel-specific issues that generic TypeScript linters miss (bad adoptsFrom paths, wrong linksTo vs contains, missing fitted format). Use it before pushing new card definitions.

Read the full file on GitHub · 132 lines

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. yesterday Changed · +2 lines 7ee88432a606
  2. 5d ago First seen · 130 lines · 45 tokens per session scan A 7f25d74d9007

Subscribe to this mod's changes

file-ops is a skill published in the GitHub repository cardstack/boxel (27 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 1,418 once invoked, about $0.0002 per session on Opus 5.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-10-21.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for generating K8s YAML manifests (use gke-manifest-generation) or disaster recovery…

google/skills · 85 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (auditcluster.sh), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (gVisor), enforcing Pod…

google/skills · 171 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens