tirith-config

Enforce Tirith policy rules on shell commands to block homograph, ANSI, and pipe-to-shell risks.

7|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/nweii/agent-stuff --skill tirith-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tirith-config
Source: https://github.com/nweii/agent-stuff/tree/main/skills/tirith-config
Command: npx skills add https://github.com/nweii/agent-stuff --skill tirith-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates safe command handling by enforcing Tirith's policy-based checks to block homograph URLs, ANSI injection, and pipe-to-shell exploits before execution.

Core Features & Use Cases

  • Policy-driven shell interception that evaluates global and per-project settings.
  • Audit logs and receipts tracking for verifiability and accountability.
  • Seamless shell hook integration to protect commands in real time.

Quick Start

Run tirith doctor to verify the hook and policy configuration.

Frequently Asked Questions about tirith-config

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

FAQPage Schema
How do I intercept shell commands to block homograph URLs and ANSI injection risks?

You can intercept shell commands by enforcing Tirith policy checks before execution. This approach evaluates real-time command interception rules to block homograph URLs, ANSI injection, and pipe-to-shell exploits automatically.

What is policy-driven shell command interception and how does it work?

Policy-driven shell command interception evaluates global and per-project settings to verify commands before execution. It integrates seamlessly with shell hooks to protect commands in real time by resolving applicable policies and blocking unsafe inputs.

How do I set up and verify my shell hook and policy configuration for command auditing?

Run the tirith doctor command to verify your shell hook and policy configuration. This validates environment configuration management, hook initialization, and policy loading to ensure controlled execution is active.

Can I apply per-project policy overrides while keeping global security policies active?

Yes, you can define per-project overrides while maintaining global policy resolution. The system merges global and per-project scopes during command interception, allowing customized rules without losing baseline security enforcement.

How do shell command audits track accountability and prevent execution exploits?

Shell command audits use audit logs and receipt verification to track accountability and prevent execution exploits. Receipt verification validates commands against policy rules to block homograph, ANSI, and pipe-to-shell attacks before they execute.

What are the limitations of using policy checks for real-time command interception?

Policy checks for real-time command interception require proper hook initialization and environment configuration to function. Without valid global or per-project policy resolution loaded via the doctor command, command auditing and exploit blocking cannot be enforced.