gws-shared

Centralize authentication, global flags, and output formatting for gws CLI skills.

1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/cdrguru/portable-agent-kit --skill gws-shared-cdrguru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-shared
Source: https://github.com/cdrguru/portable-agent-kit/tree/main/.agent/skills/gws-shared
Command: npx skills add https://github.com/cdrguru/portable-agent-kit --skill gws-shared-cdrguru

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralizes common authentication patterns, global flag handling, and output formatting for the gws CLI, reducing duplication across skills and ensuring consistency.

Core Features & Use Cases

  • Shared authentication scaffolding and token management for gws-enabled tools.
  • Unified global flags and standardized output formatting across gws-*/CLI commands.
  • Reusable building blocks for new gws skills, with clear integration points.

Quick Start

Import gws-shared into your gws skill to enable consistent authentication, flags, and output handling.

Frequently Asked Questions about gws-shared

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

FAQPage Schema
How do I standardize authentication and output formatting across multiple CLI tools?

You can standardize authentication and output formatting across multiple CLI tools by importing a shared library that centralizes token management, global flags, and presentation logic, eliminating duplicated scaffolding across command implementations.

What is a shared library for CLI flags and token management used for?

A shared library for CLI flags and token management is used to provide reusable authentication patterns and standardized output tooling, ensuring consistent security prompts and presentation across multiple command-line service implementations.

How do I integrate shared authentication scaffolding into a new command-line skill?

You integrate shared authentication scaffolding into a new command-line skill by importing the shared core, which exposes clear integration points and building blocks for unified global flags, enabling consistent security and formatting immediately.

Can I use this shared library directly from the command line?

No, you cannot use this shared library directly from the command line because it is designed strictly as an internal dependency to be imported by individual command skills, rather than being directly user-invoked.

Why do my command-line tools have inconsistent security prompts and output formats?

Your command-line tools have inconsistent security prompts and output formats because they lack a centralized library for global flags and authentication, causing duplicated presentation logic and fragmented token management across implementations.