home / skills / partme-ai / full-stack-skills / ascii-motd-profile-banner

ascii-motd-profile-banner skill

/skills/ascii-motd-profile-banner

This skill generates ASCII-only MOTD banners and SSH welcome messages with short and long variants, plus security notices for non-interactive shells.

npx playbooks add skill partme-ai/full-stack-skills --skill ascii-motd-profile-banner

Review the files below or copy the command above to add this skill to your agents.

Files (4)
SKILL.md
1.8 KB
---
name: ascii-motd-profile-banner
description: Generate ASCII-only MOTD / SSH login banner / shell profile welcome messages (short/long variants, quiet mode guidance, security notices).
license: Complete terms in LICENSE.txt
---


## When to use this skill
**CRITICAL TRIGGER RULE**
- Use this skill ONLY when the user explicitly mentions the exact skill name: `ascii-motd-profile-banner`.

**Trigger phrases include:**
- "ascii-motd-profile-banner"
- "use ascii-motd-profile-banner"
- "用 ascii-motd-profile-banner 生成 SSH 登录欢迎"
- "使用 ascii-motd-profile-banner 输出 MOTD(短版/长版)"

## Boundary
- Produce templates and placement guidance only; do not modify system files.
- Never include sensitive information (tokens, internal URLs, account details, personal data).
- Default output is ASCII-only; ANSI color is optional and must have a no-color fallback.

## How to use this skill
### Inputs
- title (required)
- messageBullets (1–5 bullet points, required)
- mode (short | long, default short)
- width (default 80)
- includeLinks (optional: Docs / Tickets / Repo)
- colorMode (none | ansi256, default none)
- quietHint (default true: recommend quiet output for non-interactive shells)

### Outputs (required)
- bannerShort (<= 12 lines)
- bannerLong (<= 30 lines)
- safetyNotes (>= 3 actionable security notes)
- toggleAdvice (interactive vs non-interactive display guidance)

## Examples
- `examples/ssh-short.md`
- `examples/ssh-long.md`

## Quality checklist
1. Short mode does not spam (<= 12 lines)
2. Copy/paste safe (no trailing spaces)
3. Security notes are clear, short, and actionable

## Keywords
**English:** ascii-motd-profile-banner, motd, ssh banner, profile, welcome message, security notice, terminal
**中文:** ascii-motd-profile-banner, MOTD, SSH Banner, 登录欢迎, Profile, 安全提示, 终端

Overview

This skill generates ASCII-only MOTD, SSH login banner, and shell profile welcome messages with short and long variants. It produces copy/paste-safe templates, concise security notices, and guidance for interactive vs non-interactive display. ANSI color is optional and always paired with a no-color fallback. The skill never alters system files and focuses on placement and usage guidance only.

How this skill works

Provide a title, 1–5 message bullets, and optional parameters like mode (short|long), width, includeLinks, and colorMode. The skill returns two ready-to-paste banners (short and long), a set of actionable safety notes, and toggle advice for interactive vs non-interactive shells. Output is ASCII-first; if ansi256 is requested the skill includes an equivalent no-color fallback.

When to use it

  • When you explicitly request ascii-motd-profile-banner to create SSH or shell welcome text
  • When you need a short MOTD (<=12 lines) for SSH login or a longer informational profile banner (<=30 lines)
  • When you want copy/paste-safe ASCII output with optional ANSI and a no-color fallback
  • When you need quick, actionable security notices to append to login messages
  • When you need guidance on showing banners only in interactive sessions or quieting output in scripts

Best practices

  • Keep short mode concise and under 12 lines to avoid spamming login sessions
  • Use long mode for detailed operational notes, maintenance windows, or contact links
  • Always include a quietHint recommendation for non-interactive shells and scripts
  • Place generated text in profile files yourself; do not run automated system modifications
  • Avoid including any secrets, tokens, or internal URLs in banners

Example use cases

  • Create a short SSH MOTD that shows system name, uptime hint, and support contact
  • Generate a long profile welcome with service status, maintenance schedule, and safe commands
  • Produce a minimal banner for automated deployment shells with a quiet-mode hint
  • Add a visible security notice about unauthorized access and reporting instructions
  • Offer both ANSI-colored and plain ASCII versions so terminals without color remain readable

FAQ

Can this skill modify /etc/motd or profile files for me?

No. The skill only generates templates and placement guidance; you must apply changes manually or via your own automation.

Will the output include secrets or sensitive data?

No. The skill is designed to avoid sensitive information; do not paste tokens or credentials into banners.

How do I avoid banner output in non-interactive scripts?

Enable the quietHint and follow the provided toggleAdvice to conditionally suppress banners when standard input is not a TTY.