skills

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

README

gmcli skills

LLM skills that wrap gmcli for assistants like Claude Code, OpenClaw, or any SKILL.md-aware harness. Each skill is a directory containing a SKILL.md whose YAML frontmatter declares the trigger language; optional agents/ metadata provides UI labels for harnesses that support it.

Google Messages Local Archive

Archive skill for searching, summarizing, and answering questions about the user's text messages from a local gmcli archive. Triggers on phrasings like "check my texts", "summarize my recent texts", "what did {person} text me", and "search my messages for {topic}". Its default archive queries wrap gmcli with --read-only --json, include a verb decision tree, and carry a strong prompt injection preamble so untrusted message bodies cannot redirect the assistant.

See google-messages/SKILL.md for the full playbook.

The repository keeps the folder as skills/google-messages for compatibility with existing symlinks, local installs, and documentation links. The canonical ClawHub/frontmatter slug is google-messages-local-archive.

Installing

The exact install path depends on your harness:

  • Claude Code — copy or symlink skills/google-messages into your user-level skills directory (typically ~/.claude/skills/):

    mkdir -p ~/.claude/skills
    ln -s "$(pwd)/skills/google-messages" ~/.claude/skills/google-messages
    
  • OpenClaw - drop the directory into your OpenClaw skills root and reload the agent. The frontmatter name (google-messages-local-archive) identifies the skill; agents/openai.yaml provides the human-facing label where supported.

In all cases, the assistant must be able to run gmcli from its Bash tool. Verify with:

which gmcli
gmcli doctor

If the assistant runs in a sandbox, ensure gmcli is on the sandbox's PATH and that the sandbox can read $XDG_STATE_HOME/gmcli (or the directory passed via --store).

Maintainer ClawHub Publishing

The gmcli repository is the canonical source for the ClawHub listing. Publish directly from skills/google-messages; do not publish a staged copy.

From the repository root, after the gmcli release tag referenced by the installer metadata exists. Use the absolute path because ClawHub resolves relative publish paths through its configured skills directory:

clawhub skill publish "$(pwd)/skills/google-messages" \
  --slug google-messages-local-archive \
  --name "Google Messages Local Archive" \
  --owner fdsouvenir \
  --version 0.2.3 \
  --changelog "Lead with search and summarization examples, add local-first trust signals, and improve ClawHub discovery copy." \
  --tags latest,gmcli,google-messages,local,archive,sms,rcs,search,summarize,privacy

Verify the registry metadata and files:

clawhub inspect google-messages-local-archive --version 0.2.3 --files

Verify install in a temporary workspace:

tmpdir="$(mktemp -d)"
clawhub --workdir "$tmpdir" install google-messages-local-archive --version 0.2.3
test -f "$tmpdir/skills/google-messages-local-archive/SKILL.md"
rm -rf "$tmpdir"

Authoring more skills

To add another skill, create a sibling directory with its own SKILL.md. Keep the frontmatter description concrete (the assistant matches user input against it) and the body a short, deterministic playbook — long-form exploration prompts produce drift.

Documentation

Overview

Package skills contains LLM skill bundles that wrap gmcli for use in assistant harnesses (Claude Code, OpenClaw). Each subdirectory holds a SKILL.md and any helper assets. This file exists so the directory is a well-formed Go package and the SKILL.md validator can compile.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL