/gist-writer:configurefrom gist-writer
One-time configuration for gist-writer — sets default gist visibility (public/private), the GitHub username used in author footers, and the model-name placeholder behaviour. Writes to $CLAUDE_USER_DATA/gist-writer/config.json.
Ships in gist-writer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Resolve the data root:
DATA_ROOT="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/gist-writer"
mkdir -p "$DATA_ROOT"
Config lives at $DATA_ROOT/config.json. Read existing values if present and offer them as defaults.
{
"default_visibility": "public",
"github_user": "<auto-detected from `gh api user --jq .login`>",
"include_environment_block": true,
"model_attribution": "auto"
}
default_visibilitypublic or private. Shipped default for the prompt: public (the user opted into public-by-default). If the user skips configuration entirely and a skill needs a value, fall back to private (safe default — never publish without an explicit opt-in).
github_userThe handle that appears in the template footer (Posted by [@user]). Auto-detect via gh api user --jq .login; let the user override.
include_environment_blockFor debug-writeup-gist, whether to auto-fill the Environment section from the host (OS, kernel, desktop session, relevant package versions). Default: true.
model_attributionHow the model name appears in the AI-authored banner.
auto (default) — read from $CLAUDE_MODEL if set, otherwise leave a placeholder for the user to confirm at publish time."Claude Sonnet 4.6") — use this string verbatim.config.json if present.default_visibility ∈ {public, private}; github_user non-empty; booleans actually booleans.chmod 600 (no secrets, but it's user-scoped).$DATA_ROOT/config.json."Publishing uses gh gist create, so no token is stored here. Run gh auth status, and confirm the login has the gist scope.
config.json holds no secrets.What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/claude-solution-gistPublish a Claude-authored solution as a GitHub gist with clear AI-attribution, model name, date, and a "no warranty" disclaimer. Use when Claude solved a problem solo (not collaborative debug — that's debug-writeup-gist) and the user wants to share the validated answer. Visibility (public/private) is a parameter; defaults to the user's configured preference. Public publishes go through scrub-pii first./debug-writeup-gistPublish a collaborative debug write-up as a GitHub gist — symptom, environment (auto-detected), investigation, root cause, fix, verification, and notes for other agents. Use when the user and Claude debugged something together and want to share the post-mortem. Visibility is a parameter; defaults to the user's configured preference. Public publishes go through scrub-pii first./Other plugins' skills for the same job
gist-writer@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin gist-writer