golem-file-io-ts

Read and write filesystem data for TypeScript Golem agents using node:fs APIs.

Updated May 17, 2026
One-click install
npx skills add https://github.com/Rust-soham/golem-claw --skill golem-file-io-ts-rust-soham
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golem-file-io-ts
Source: https://github.com/Rust-soham/golem-claw/tree/main/packages/golem/.agents/skills/golem-file-io-ts
Command: npx skills add https://github.com/Rust-soham/golem-claw --skill golem-file-io-ts-rust-soham

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates the friction of handling filesystem tasks when a TypeScript Golem agent needs to access user-provisioned files or create/update temporary outputs during execution.

Core Features & Use Cases

  • Read files in TypeScript (sync and async) using node:fs and node:fs/promises for text and binary data.
  • Write files safely to agent-local paths, respecting read-only vs read-write provisioning constraints.
  • Common filesystem operations including checking existence and listing directory contents, enabling workflows like configuration loading, report generation, and data staging.

Quick Start

Ask your agent to read a provisioned file like /data/config.json, then parse it to produce a validated result.

Frequently Asked Questions about golem-file-io-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and write files in a TypeScript Golem agent?

To read and write files in a TypeScript Golem agent, use the QuickJS runtime's supported node:fs and node:fs/promises APIs to load inputs from /data and generate outputs in /tmp.

Can I use node:fs/promises for asynchronous file operations in QuickJS Wasm?

Yes, you can use node:fs/promises for asynchronous file operations in QuickJS Wasm. The runtime supports these standard APIs for handling text and binary data within TypeScript agents.

What filesystem permissions apply when writing files in TypeScript agents?

Filesystem permissions enforce read-only or read-write access to provisioned files. Agents must respect these constraints when writing files safely to agent-local paths like /tmp.

How do I persist data across multiple runs using a Golem agent?

To persist data across runs, generate and update outputs in writable locations like /tmp during execution. This ensures your TypeScript agent can access temporary outputs in subsequent runs.

Does the file I/O Skill support listing directory contents and checking file existence?

Yes, the file I/O Skill supports listing directory contents and checking file existence. These common filesystem operations enable workflows like configuration loading and data staging.

What are the limitations of using node:fs for file access in Golem agents?

File access is limited by provisioning permissions, restricting writes to read-only provisioned files. Agents can only write safely to writable agent-local paths like /tmp, not arbitrary directories.