Ct
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.
Run in terminal (recommended)
claude mcp add ct npx -- -y @trustedskills/ct
Or manually add to ~/.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.tsxto 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 usingdeno run -A packages/cli/mod.ts id derive "implicit trust" > claude.keyordeno run -A packages/cli/mod.ts id new > claude.key. - Environment Variables: Use environment variables like
CT_API_URLandCT_IDENTITYto avoid repeatedly specifying flags in commands. - Avoid ANSI Colors: When redirecting output to create a key file, use
deno run -Ainstead ofdeno taskto 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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.