golink-cli

golink-cli is a skill for Claude Code, Codex from mudrii/golink. It costs 109 tokens per session (852 once invoked), scanned A, original, MIT.

A guide for using golink, a command-line tool for automating LinkedIn posts, comments, reactions, and related workflows.

In plain words
What is it for?
Use it to verify setup, manage authentication, preview or publish LinkedIn content, schedule posts, and handle organization posting.
Why use it?
It provides a safer operating process with checks, dry runs, approvals, and protection for login credentials.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mudrii/golink/golink-cli
Any agent
npx skills add mudrii/golink --skill golink-cli
Clone the repo
git clone --depth 1 https://github.com/mudrii/golink

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for golink-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/mudrii/golink/golink-cli.svg)](https://agentmods.dev/skills/mudrii/golink/golink-cli)
Your own site
<a href="https://agentmods.dev/skills/mudrii/golink/golink-cli"><img src="https://agentmods.dev/badge/skills/mudrii/golink/golink-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 852 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00109 $0.00852
Opus 5 $0.00055 $0.00426
Sonnet 5 $0.00022 $0.00170
Haiku 4.5 $0.00011 $0.00085

Measured 5d ago against content hash a89ab6bee9b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

golink-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/golink-cli/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Use golink as the source of truth for LinkedIn automation. Prefer CLI commands over editing local state files directly. Default to non-destructive inspection and dry-runs until the user explicitly asks to publish, delete, approve, or run a queued mutation.

For command examples and troubleshooting, read references/cli-reference.md.

Operating Rules

  • Verify the binary first: golink version.
  • Prefer --json for single results and --output=jsonl for streams.
  • Run golink doctor before diagnosing auth, scope, redirect, or API support issues.
  • Use --dry-run for mutating commands unless the user clearly wants live LinkedIn changes.
  • Use --require-approval for agent-driven publishing workflows.
  • Use --idempotency-key for retryable mutations.
  • Never print or store access tokens, refresh tokens, client secrets, PKCE codes, or OAuth callback URLs containing code=.
  • Never edit keyring, audit, approval, idempotency, schedule, or cassette files by hand unless the user explicitly asks for repair.
  • Treat unsupported as an expected LinkedIn entitlement/scope result, not necessarily a CLI bug.

Setup Workflow

  1. Check local readiness:
    golink version
    golink doctor
    
  2. If unauthenticated, confirm required env vars without revealing values:
    test -n "$GOLINK_CLIENT_ID" && echo GOLINK_CLIENT_ID=set || echo GOLINK_CLIENT_ID=missing
    test -n "$GOLINK_REDIRECT_PORT" && echo GOLINK_REDIRECT_PORT=set || echo GOLINK_REDIRECT_PORT=missing
    
  3. Authenticate only when user expects an interactive browser flow:
    golink auth login
    golink --json auth status
    golink doctor
    
  4. If the user needs LinkedIn app setup instructions, point them to LINKEDIN_SETUP.md in this repo.

Mutation Workflow

  1. Inspect state: golink --json auth status and golink doctor.
  2. Build the command with explicit flags; do not rely on prompts in agent mode.
  3. Dry-run:
    golink --json --dry-run post create --text "..." --visibility PUBLIC
    
  4. For reviewable work, create a plan or approval entry:
    golink --json plan post create --text "..." --visibility PUBLIC > plan.json
    golink --json execute plan.json --dry-run
    
  5. Execute live only after user confirmation or an existing approved plan:
    golink --json execute plan.json
    

Read the full file on GitHub · 87 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 87 lines · 109 tokens per session scan A a89ab6bee9b0

Subscribe to this mod's changes

golink-cli is a skill published in the GitHub repository mudrii/golink (5 stars, last pushed 3mo ago), licensed MIT. It adds 109 tokens to every session and 852 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

linkedin-api

Use when composing LinkedIn posts - writes post text and carousel/image assets to a local directory for manual review and publishing. Optimized for the 2026 LinkedIn algorithm (dwell time, Golden Hour, document carousel format).

rockyco/claude-linkedin-plugin · 49 tokens

linkedctl-mcp

This skill teaches linkedctl MCP workflow patterns, conventions, and error handling for managing LinkedIn content via the LinkedIn API.

alexey-pelykh/linkedctl · 0 tokens

triage-reviews

Fetch PR review comments, verify each against real code/docs, fix valid issues, commit and push.

stickerdaniel/linkedin-mcp-server · 24 tokens

wiki-context-pack

Produce a token-bounded, citation-ready context slice from an existing Obsidian vault for a downstream agent or task. Use for "/wiki-context-pack", "use my vault as context", "context slice for X", "pack the wiki for my agent", or "bounded context for Y".

Ar9av/obsidian-wiki · 63 tokens

security-review

Perform a focused security review of pending git changes to identify high-confidence security vulnerabilities with real exploitation potential. Use this skill when the user asks for a security review, security audit, vulnerability scan, or wants to check pending changes on a branch for security issues before merging.…

waybarrios/opencode-power-pack · 64 tokens

huggingface-llm-trainer

Train or fine-tune language models with TRL or Unsloth on Hugging Face Jobs, including SFT, DPO, GRPO, reward models, and GGUF conversion. Use for cloud LLM training; use huggingface-vision-trainer for vision tasks.

waybarrios/opencode-power-pack · 65 tokens