command-access-control

Restrict Hermes commands by user identity, workspace, and command class.

Updated May 24, 2026
One-click install
npx skills add https://github.com/anxiety135790/hermes-skills --skill command-access-control
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-access-control
Source: https://github.com/anxiety135790/hermes-skills/tree/main/security/command-access-control
Command: npx skills add https://github.com/anxiety135790/hermes-skills --skill command-access-control

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you secure Hermes by restricting who can run sensitive commands, where they can work, and how they can manage models and settings.

Core Features & Use Cases

  • Tiered access control: Separates admins, limited users, and everyone else with different command permissions.
  • Workspace jail enforcement: Blocks risky file and shell operations outside approved per-user directories.
  • Model and secrets hardening: Allows safe model switching while preventing configuration abuse, and guides secure migration of API keys into .env files.
  • Operational guardrails: Includes deployment notes for multi-user setups, YAML editing pitfalls, and restart/validation steps.
  • Use case: An administrator can give a teammate access to Hermes with model switching only, while keeping terminal execution, config changes, and dangerous filesystem actions blocked.

Quick Start

Ask for a secure Hermes access-control setup that reviews the hook script, the permission tiers, and the required config changes for your users.

Frequently Asked Questions about command-access-control

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

FAQPage Schema
How do I restrict Hermes commands for different users in a multi-user deployment?

Restrict Hermes commands by configuring tiered access control that separates admins, limited users, and everyone else. This enforces different command permissions and blocks risky file or shell operations outside approved per-user directories.

Can I allow a user to switch models without giving them terminal execution access in Hermes?

Yes, you can grant model switching permissions to a user while keeping terminal execution, config changes, and dangerous filesystem actions blocked. This is achieved through tiered command permissions and safe configuration handling.

How do I secure API keys and manage secrets when setting up Hermes access controls?

Secure API keys by migrating them into .env files. The access control setup includes operational guardrails for safe configuration handling, preventing configuration abuse while allowing secure model and provider management.

What is the best way to enforce workspace jails for users accessing Hermes via WebUI or Telegram?

Enforce workspace jails by applying pre-command hook validation and session directory injection. This blocks risky file and shell operations outside approved per-user directories, ensuring safe multi-user deployments.

Does setting up Hermes access control require pre-command hook validation?

Yes, pre-command hook validation is required. It restricts Hermes commands by user identity, workspace, and command class to prevent unauthorized administration and dangerous shell actions across multi-user deployments.

What configuration pitfalls should I avoid when setting up multi-user Hermes permissions?

Avoid YAML editing pitfalls and ensure proper restart and validation steps. The setup includes operational guardrails for multi-user deployments, requiring safe configuration handling for models, providers, and API keys to prevent abuse.