golem-file-io-ts

Read and write text and binary files synchronously or asynchronously in TypeScript Golem agents.

1|Updated Oct 9, 2025
One-click install
npx skills add https://github.com/justcoon/golem-shopping-ts --skill golem-file-io-ts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golem-file-io-ts
Source: https://github.com/justcoon/golem-shopping-ts/tree/main/.agents/skills/golem-file-io-ts
Command: npx skills add https://github.com/justcoon/golem-shopping-ts --skill golem-file-io-ts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Facilitates reading and writing files directly from a TypeScript Golem agent, enabling filesystem interactions necessary for dynamic data management.

Core Features & Use Cases

  • File Operations: Read and write files synchronously or asynchronously within the agent runtime.
  • Binary File Handling: Support for reading binary files like images or logs.
  • Development: Useful for processing configuration files, logs, or data generated by agent activities in deployment environments.
  • Use Case: Load configuration data from disk at startup or save logs and results during agent execution.

Quick Start

Use the golem-file-io-ts skill to read a configuration file named 'config.json' stored in the agent's filesystem.

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 within a TypeScript Golem agent?

File handling in TypeScript Golem agents allows direct filesystem interactions for dynamic data management. It supports both synchronous and asynchronous operations for reading and writing text or binary files.

Can I process binary files using the QuickJS runtime in a Golem agent?

Yes, processing binary files in the QuickJS runtime is supported. The file handling capability allows reading binary files like images or logs, alongside standard text file operations.

Does the Golem TypeScript agent filesystem support asynchronous operations?

Yes, Golem TypeScript agent filesystem access supports asynchronous operations. It relies on node:fs modules within the QuickJS runtime to handle both synchronous and asynchronous file tasks.

What is the best way to load configuration data from disk at agent startup?

Loading configuration data from disk at agent startup is achieved by using file reading operations within the TypeScript Golem agent. This directly accesses the filesystem to retrieve necessary configuration files.

What are the limitations of using node:fs modules in the QuickJS runtime environment?

Using node:fs modules in the QuickJS runtime requires operating within that specific environment. File reading and writing operations are constrained to this context to ensure proper execution.