CommunityWriting & Editinggithub.com

starhui-dev/huly-cli

A command-line client for Huly built on huly-mcp, featuring project and issue management, search, direct MCP tool calls, and Agent Skill support.

Works with~Claude Code~Codex CLI~Cursor
npx skills add starhui-dev/huly-cli

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Huly CLI

Use npx -y @starhui/huly-cli@latest to work with Huly through @firfi/huly-mcp.

For local development inside this repository, huly is also acceptable after pnpm build && pnpm link --global.

Quick Checks

  1. Confirm the CLI is available:
    npx -y @starhui/huly-cli@latest --version
    
  2. Check sanitized config from existing environment variables first:
    npx -y @starhui/huly-cli@latest context
    
  3. If required config is missing, ask the user whether to pass an explicit dotenv file with --config <path>.
  4. If project is omitted for issue commands, set HULY_DEFAULT_PROJECT or pass --project.

Never print real tokens, passwords, or full .env contents. npx -y @starhui/huly-cli@latest context is safe because it returns sanitized config.

Common Commands

List projects:

npx -y @starhui/huly-cli@latest project list --json

Discover statuses before creating or updating issues:

npx -y @starhui/huly-cli@latest project statuses HULY --json

List issues:

npx -y @starhui/huly-cli@latest issue list --project HULY --status-category active --limit 20 --json

Get an issue:

npx -y @starhui/huly-cli@latest issue get HULY-123 --project HULY --json

Create an issue:

npx -y @starhui/huly-cli@latest issue create --project HULY --title "Short imperative title" --description "Markdown body"

Update an issue:

npx -y @starhui/huly-cli@latest issue update HULY-123 --project HULY --status Done

Search:

npx -y @starhui/huly-cli@latest search "query text" --limit 10 --json

Raw Tool Access

Use raw calls when the first-class CLI does not expose an upstream MCP tool:

npx -y @starhui/huly-cli@latest tools --filter document
npx -y @starhui/huly-cli@latest call get_issue --field project=HULY --field identifier=HULY-123 --json
npx -y @starhui/huly-cli@latest call list_projects --data '{"limit":10}' --json

--field key=value coerces true, false, null, and numbers. Use --data or --file for nested JSON.

Safety

  • Use --json for agent parsing.
  • Read before write: inspect the project/status/issue before mutating it unless the user gave exact values.
  • Destructive commands require confirmation; only pass --yes when the user explicitly requested deletion.
  • Prefer status names from project statuses; do not invent workflow statuses.
  • If a command fails due to auth/config, report the missing sanitized fields from npx -y @starhui/huly-cli@latest context; do not expose secrets. Only retry with --config <path> after the user confirms which dotenv file to use.

Useful Mapping

  • Projects: project list, project get, project statuses, project create, project update, project delete.
  • Issues: issue list, issue get, issue create, issue update, issue delete, issue label, issue unlabel, issue move.
  • Global search: search.
  • All upstream MCP tools: tools and call.

Related Skills

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community