golink: Skill for Codex

.agents/skills/golink-cli/SKILL.md

golink-cli is a skill for 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 Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex; built for openclaw.

This is mudrii/golink's own configuration. It tells Codex how to work on golink itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything golink configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mudrii/golink. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mudrii/golink/main/.agents/skills/golink-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mudrii/golink

Made for: 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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for golink-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/mudrii/golink/golink-cli"><img src="https://agentmods.dev/badge/skills/mudrii/golink/golink-cli.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00109 $0.00852
Opus 5.5 $0.00044 $0.00341
Sonnet 5.5 $0.00022 $0.00170
Haiku 4.5 $0.00011 $0.00085

Measured 2mo ago against content hash a89ab6bee9b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 5mo ago), licensed MIT. It adds 109 tokens to every session and 852 once invoked, about $0.0004 per session on Opus 5.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

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

llm-as-judge-evaluation

Evaluate LLM outputs using frontier models as judges. Use for pairwise model comparison, quality scoring with custom rubrics, and automated evaluation pipelines. Covers position bias mitigation, statistical significance, and generating preference data for DPO/RLHF.

synthetic-sciences/openscience · 56 tokens

transformers

This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning…

synthetic-sciences/openscience · 63 tokens

gpt-image-gen

MUST read before generating images. Prompt-crafting guide for gpt-image-2.5 covering tool routing (native imagegeneration server tool vs the generateimage tool), model and quality selection, prompt structure, exact text rendering, reference-image editing, transparent assets, output formats, and multi-turn refinement.

code-yeongyu/senpi · 66 tokens

tmux-manual-qa

Run a single manual tmux-based QA scenario for the todo continuation feature against the real CLI (./pi-test.sh) in an interactive TUI. Captures scrollback, asserts deterministic pass/fail count markers, and cleans up test fixtures. Use only for the manual-qa milestone features.

code-yeongyu/senpi · 66 tokens

linkedin-api

Use when wiring an app to LinkedIn's organic Posts / Community Management API — 3-legged OAuth, publishing text, article or document posts to a member profile or company page, and pulling impressions, engagement and follower stats into a durable feedback record. NOT writing the post copy (that is linkedin-content)…

ericrisco/rsc-harness · 89 tokens