teamshare-cli

Routes Teamshare CLI requests to sub-skills for Base tables, files, and dashboards.

5.0k|557|Updated May 14, 2025
One-click install
npx skills add https://github.com/dtyq/magic --skill teamshare-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: teamshare-cli
Source: https://github.com/dtyq/magic/tree/main/backend/super-magic/agents/skills/teamshare-cli
Command: npx skills add https://github.com/dtyq/magic --skill teamshare-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Users working with Teamshare need to know which sub-skill and CLI commands to use for tasks like managing Base multi-dimensional tables, files, records, views, and dashboards, without loading irrelevant instructions.

Core Features & Use Cases

  • Skill Routing: Directs requests to the correct Teamshare sub-skill (teamshare-shared for auth, teamshare-base for Base operations) so only needed instructions are loaded.
  • Authentication Guidance: Covers login, credential status checks, and environment selection (cn-saas or International) via teamshare-cli auth commands.
  • Command Discovery: Encourages checking --help output before guessing parameters for auth, config, and base command groups.
  • Use Case: A user asks to update records in a Teamshare Base table; the skill first loads teamshare-shared for authentication, then teamshare-base for the record operations.

Quick Start

Ask the assistant to load the teamshare-shared skill and check Teamshare login status before operating on any Base tables.

Frequently Asked Questions about teamshare-cli

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

FAQPage Schema
How do I log in to Teamshare using the CLI?

Run `teamshare-cli auth login --env cn-saas` for the China SaaS environment or `teamshare-cli auth login` for the default environment. Verify the result with `teamshare-cli auth status` before performing other operations.

How do I operate Teamshare Base tables with teamshare-cli?

Load the teamshare-shared skill first for authentication, then load the teamshare-base skill, which covers files, directories, sheets, fields, records, views, forms, dashboards, and widgets. Use `teamshare-cli base --help` to see available commands.

Which Teamshare environment should I use for login?

Use `cn-saas` or `International` unless the user explicitly specifies a different environment. Never ask the user for credential contents, and do not print or store tokens.

What should I do when unsure about a teamshare-cli command?

Always check the built-in help before guessing parameters. Run `teamshare-cli --help`, `teamshare-cli auth --help`, `teamshare-cli config --help`, or `teamshare-cli base <command> --help` to see exact usage.

Does teamshare-cli handle authentication errors automatically?

Authentication recovery is handled by the teamshare-shared sub-skill, which covers login, platform configuration, credential status, and common auth recovery. Load it first whenever config or auth errors occur.