Groups Tool for Openclaw

A system utility for auditing user group memberships to verify file permissions and sudo access.

dinghaibin
v1.0.0
Apr 29, 2026
0
720
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install groups-tool

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install groups-tool using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Groups Tool?

Groups Tool is a specialized utility designed for system administrators and developers to instantly audit group memberships on Unix-like systems. By querying both primary and supplementary groups, this tool provides the transparency needed to debug permission errors and ensure proper access control within an Openclaw Skills environment.

Understanding group structures is essential for managing sudo privileges and multi-user file access. This skill simplifies the process of reading /etc/group data, offering a streamlined way to verify that users have the correct security contexts assigned to them.

Groups Tool Use Cases

  • Auditing system permissions for specific service accounts like www-data.
  • Verifying sudo privileges and supplementary group access for new users.
  • Troubleshooting 'Permission Denied' errors by confirming group alignment.
  • Managing security contexts within Openclaw Skills automated workflows.

How Groups Tool Works

  1. The user executes the command, optionally specifying a username or flag for numeric IDs.
  2. The skill queries the system /etc/group and /etc/passwd files to resolve identity data.
  3. It aggregates both the primary group ID (GID) and all secondary group memberships.
  4. The tool outputs a human-readable or ID-based list of memberships to the console.

Groups Tool Setup

To install this utility within your environment, use the following commands:

# Install via the package manager
openclaw install groups-tool

# Verify installation
groups-tool --version

Groups Tool Data Schema & Taxonomy

The Groups Tool processes system-level configuration files and returns structured output. The data is organized as follows:

Attribute Source Description
Username System Identity The target account being audited.
Group Names /etc/group Human-readable labels for group memberships.
Group IDs /etc/group Numeric identifiers used by the kernel for permission checks.
Membership Type System logic Classification as either Primary or Supplementary.

Groups Tool Advanced Features

  • Numeric ID Mode: Toggle between group names and GIDs for scripting compatibility.
  • Target Delegation: Audit memberships for any valid system user without switching account contexts.
  • Integration Support: Optimized for use in shell scripts and larger Openclaw Skills automation pipelines.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*