okx-audit-log

Identifies the Onchain OS audit log path and JSON Lines format.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/aviral10x/agent-arena --skill okx-audit-log-aviral10x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-audit-log
Source: https://github.com/aviral10x/agent-arena/tree/main/.agents/skills/okx-audit-log
Command: npx skills add https://github.com/aviral10x/agent-arena --skill okx-audit-log-aviral10x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This capability provides developers with the path and structure of Onchain OS audit logs to streamline offline troubleshooting and issue diagnosis.

Core Features & Use Cases

  • Returns the audit log file path: ~/.onchainos/audit.jsonl (or $ONCHAINOS_HOME/audit.jsonl when the environment variable is set)
  • Specifies the log format: JSON Lines, one JSON object per line
  • Defines the device header and rotation policy to preserve critical metadata across rotations

Quick Start

Retrieve the audit log path and format to begin offline troubleshooting.

Frequently Asked Questions about okx-audit-log

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

FAQPage Schema
How do I find the Onchain OS audit log path for offline troubleshooting?

The Onchain OS audit log path is located at ~/.onchainos/audit.jsonl, or $ONCHAINOS_HOME/audit.jsonl when the environment variable is set, providing direct access for offline troubleshooting and issue diagnosis.

What is the file format of the Onchain OS audit log?

The audit log uses the JSON Lines format, containing one JSON object per line, which ensures structured parsing of troubleshooting data during offline analysis.

How do I preserve metadata during audit log rotation?

The audit log defines a device header and rotation policy to preserve critical metadata across rotations, ensuring consistent metadata retention when log files are archived or overwritten.

Can I use the $ONCHAINOS_HOME environment variable for custom audit log storage?

Yes, setting the $ONCHAINOS_HOME environment variable redirects the audit log path to $ONCHAINOS_HOME/audit.jsonl, allowing custom storage configurations for offline troubleshooting.

Does the Onchain OS audit log support JSON Lines parsing for debugging?

Yes, the audit log adheres to a fixed JSON Lines format, enabling standard JSON parsers to read one object per line for efficient debugging and troubleshooting workflows.