skills$openclaw/alias-gen
lxgicstudios2.8k

by lxgicstudios

alias-gen – OpenClaw Skill

alias-gen is an OpenClaw Skills integration for coding workflows. Generate shell aliases from your command history. Use when streamlining your terminal workflow.

2.8k stars5.2k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namealias-gen
descriptionGenerate shell aliases from your command history. Use when streamlining your terminal workflow. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/alias-gen
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/alias-gen
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains alias-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
src
cli.ts
592 B
index.ts
1.1 KB
_meta.json
288 B
package-lock.json
30.2 KB
package.json
593 B
README.md
205 B
SKILL.md
1.9 KB
tsconfig.json
251 B
SKILL.md

name: alias-gen description: Generate shell aliases from your command history. Use when streamlining your terminal workflow.

Shell Alias Generator

Analyzes your command history and suggests aliases for commands you type all the time. Stop typing git checkout when you could type gco.

One command. Zero config. Just works.

Quick Start

npx ai-alias

What It Does

  • Reads your shell history (bash, zsh, fish)
  • Finds frequently typed long commands
  • Generates memorable aliases
  • Creates proper shell syntax for your environment
  • Groups related commands together

Usage Examples

# Analyze and suggest aliases
npx ai-alias

# Generate for specific shell
npx ai-alias --shell zsh

# From specific commands
npx ai-alias "docker compose up, git status, npm run dev"

Best Practices

  • Keep them short - 2-4 characters ideal
  • Make them memorable - gc for git commit, not x7
  • Avoid conflicts - Don't override existing commands
  • Document them - Comment your aliases file

When to Use This

  • You notice yourself typing the same commands daily
  • Setting up a new machine
  • Teaching someone your workflow
  • Auditing which commands you use most

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended.

npx ai-alias --help

How It Works

The tool parses your shell history file, counts command frequency, filters out commands with sensitive data, and generates alias definitions. It uses naming conventions that make aliases easy to remember.

License

MIT. Free forever. Use it however you want.

README.md

ai-alias

Generate useful shell aliases from your command history

Install

npm install -g ai-alias

Usage

npx ai-alias

Setup

export OPENAI_API_KEY=sk-...

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. ```bash npx ai-alias --help ```

FAQ

How do I install alias-gen?

Run openclaw add @lxgicstudios/alias-gen in your terminal. This installs alias-gen into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/alias-gen. Review commits and README documentation before installing.