Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Hq Cowork Secrets

ASecurity

Run commands with HQ secrets from Cowork without exposing values.

85 stars
0 votes
0 copies
1 views
Added 9/19/2026
toolspythonrustrubyshellbashnodeawssecurity

Works with

climcp

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add indigoai-us/hq-core --skill hq-cowork-secrets --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hq Cowork Secrets?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Hq Cowork Secrets
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/indigoai-us-hq-cowork-secrets/badge)](https://www.skillsdirectory.com/skills/indigoai-us-hq-cowork-secrets)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: hq-cowork-secrets
description: Run commands with HQ secrets from Cowork without exposing values.
allowed-tools: mcp__hq__hq_secrets_exec, mcp__hq__hq_secrets_list
---

# /hq-cowork-secrets — Use HQ secrets from a sandboxed agent

Runs commands with HQ secrets injected, and lists secret names, from inside
Cowork — where the `hq` CLI and `~/.hq` vault are unreachable. Routes through
the host-side MCP server. **The server never returns a secret value itself,
and the secret-injecting tool refuses to run a shell or value-printing binary
— but these tools run host commands with your privileges, so treat them as
host-trusted, not an airtight boundary.**

**Args:** `$ARGUMENTS` — `list` (+ optional company/prefix) or `exec` (keys +
command). Infer from intent if not explicit.

## Two modes

### List names — `mcp__hq__hq_secrets_list`

Shows secret NAMES and path-based nested names. Values are never returned.

```json
{ "company": "<slug>", "personal": false, "prefix": "DEV" }
```

Omit `company` to use the active company; set `personal: true` for the
caller's personal vault; `prefix` filters by path segment.

### Run with secrets — `mcp__hq__hq_secrets_exec`

Injects named secrets as env vars of the same name into a child process and
returns only the command's stdout/stderr.

```json
{
  "keys": ["STRIPE_KEY", "DB_URL"],
  "cmd": ["./scripts/migrate.sh"],
  "company": "<slug>",
  "personal": false
}
```

`cmd` is argv (argv0 + args), NOT a shell string. The tool REFUSES to launch a
shell or a raw value-printing binary as `cmd[0]` (sh/bash/zsh, printenv, env,
echo, printf, cat, tee, node/python/perl/ruby, base64, xxd, strings, …) — this
is defense-in-depth so an injected one-liner can't echo an injected secret back
through the tool result. Invoke the actual consumer binary directly (e.g.
`vercel`, `aws`, `gh`, or a deploy script). This is not airtight: a custom
binary you control could still observe a secret it was given, so treat the tool
as host-trusted.

## Security rules (hard — from HQ core)

- **No value-revealing path exists by design.** `hq secrets get --reveal` is
  NOT wrapped. Do not attempt to capture a value by echoing the env var.
- **Cross-company isolation.** Pass `company` explicitly when crossing
  contexts. If the scoped secret is missing or the command fails on auth,
  STOP and ask — never retry against a different company's vault.
- **Never paste secrets inline.** Always consume via `hq_secrets_exec`
  injection; never ask the user to paste a value into chat.

## When to use this instead of `/hq-secrets`

Only inside Cowork or another sandboxed plugin host. On a host-side session,
prefer the unprefixed `/hq-secrets` (or `hq run` / `hq secrets exec`).

## Why this skill exists

`hq secrets exec` reads the encrypted vault under `~/.hq` with the user's
Cognito session — neither is visible from Cowork's Linux VM. The host-side
MCP server runs the real command on the host and returns only the child's
output. The server never returns a secret value itself, and refuses to run a
shell / value-printing binary — but it runs host commands with your privileges,
so it is host-trusted, not a cryptographic boundary.

Attribution

indigoai-usindigoai-us
View sourceMore from indigoai-us →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

ucoz-landing-skill

Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...

107 votes

Paperclip

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

805541 votes

Daw Music

Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.

761 votes

Instantly Rdsthomas Mission Control

Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.

761 votes

Caveman Compress

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"

1066600 votes
View all in tools →