Ct

🌐Community
by commontoolsinc · vlatest · Repository

Ct streamlines content creation by automatically generating diverse text formats – ideal for rapid prototyping and varied output needs.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add ct npx -- -y @trustedskills/ct
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "ct": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/ct"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The Ct skill streamlines content creation by automating the generation of diverse text formats using the CommonTools CLI (ct). It allows AI agents to manage and interact with pieces of content, including type-checking, deploying new pieces, updating existing ones, inspecting their state, retrieving specific fields, setting field values, calling handlers, triggering recomputations, listing available pieces, and visualizing them. This is particularly useful for rapid prototyping and scenarios requiring varied output formats.

When to use it

  • Generating different versions of content based on a pattern.
  • Automating the deployment and updating of content pieces.
  • Inspecting and modifying the state of existing content.
  • Triggering recomputations or handlers within a content workflow.
  • Listing and visualizing available content pieces for management purposes.

Key capabilities

  • Type checking: Validates patterns using deno task ct check.
  • Piece deployment: Creates new content pieces with deno task ct piece new.
  • Piece updates: Modifies existing content pieces with deno task ct piece setsrc.
  • State inspection: Examines the state of a content piece using deno task ct piece inspect.
  • Field manipulation: Retrieves and sets field values within content pieces.
  • Handler invocation: Executes handlers associated with content pieces using deno task ct piece call.
  • Recomputation triggering: Initiates recomputations for content pieces with deno task ct piece step.
  • Piece listing: Displays a list of available content pieces.

Example prompts

  • "Check the type safety of this pattern: pattern.tsx."
  • "Deploy a new content piece from pattern.tsx to space 'my-space' using key 'claude.key'."
  • "Inspect the state of content piece with ID '123'."

Tips & gotchas

  • Identity Key Required: Most operations require an identity key (e.g., claude.key). You may need to generate one using deno run -A packages/cli/mod.ts id derive "implicit trust" > claude.key or deno run -A packages/cli/mod.ts id new > claude.key.
  • Environment Variables: Use environment variables like CT_API_URL and CT_IDENTITY to avoid repeatedly specifying flags in commands.
  • Avoid ANSI Colors: When redirecting output to create a key file, use deno run -A instead of deno task to prevent ANSI color codes from polluting the key.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
commontoolsinc
Installs
34

🌐 Community

Passed automated security scans.