utils

Validate file paths and manage SQLite databases for agent operations.

5|2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/project-ax/ax --skill utils-project-ax
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: utils
Source: https://github.com/project-ax/ax/tree/main/.claude/skills/ax/utils
Command: npx skills add https://github.com/project-ax/ax --skill utils-project-ax

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides essential, cross-cutting utilities that power various agent functionalities, ensuring safety, reliability, and efficiency in operations.

Core Features & Use Cases

  • Path Safety: Prevents directory traversal vulnerabilities with safePath.
  • Database Management: Offers a robust SQLite adapter and migration runner.
  • Operational Utilities: Includes tracing, asset resolution, and binary lookup.
  • Use Case: When an agent needs to access a file securely or ensure database integrity before performing an action, these utilities provide the foundational safety and management layers.

Quick Start

Use the utils skill to validate the path '/safe/path/to/file.txt' against the base directory '/app/data'.

Frequently Asked Questions about utils

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

FAQPage Schema
How do I prevent directory traversal vulnerabilities during agent file access?

SQLite database management is handled through a runtime-agnostic adapter and migration runner. This ensures robust data persistence and integrity, allowing agent operations to maintain reliable state across different execution environments.

Can I use OpenTelemetry tracing for agent operations?

Path validation works by checking a requested file path against a specified base directory, such as validating '/safe/path/to/file.txt' against '/app/data'. This mechanism ensures secure command execution and prevents unauthorized file access.

What is the best way to ensure secure command execution validation for agents?

The best way to ensure secure command execution validation is by leveraging foundational agent core utilities. These tools provide the necessary safety layers to validate paths and manage resources securely before performing actions.

Does this utility skill support runtime-agnostic SQLite database migrations?

Yes, it supports runtime-agnostic SQLite database migrations through a dedicated migration runner. This allows you to ensure database integrity and robust data persistence without being tied to a specific runtime environment.