antwork-setup

antwork-setup is a skill for Claude Code from iker-gonzalez/antwork-skills. It costs 102 tokens per session (1,053 once invoked), scanned A, original, MIT.

A command that reports the current state of Claude Code session logs and cleanup settings. It includes log-directory sizes and the configured retention period.

In plain words
What is it for?
Check log storage usage, review retention settings, run cleanup, change the retention period, or preview which files would be deleted.
Why use it?
It shows how much log data exists and how cleanup is configured before you decide what to change. It can also point you toward cleanup, retention changes, or a dry-run preview.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the antwork-skills plugin — 12 skills, 5 agents, 2 MCP servers shipped together

Good fit Check log storage usage, review retention settings, run cleanup, change the retention period, or preview which files would be deleted.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iker-gonzalez/antwork-skills/antwork-setup
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.

Any agent
npx skills add iker-gonzalez/antwork-skills --skill antwork-setup
Clone the repo
git clone --depth 1 https://github.com/iker-gonzalez/antwork-skills

Made for: Claude Code.

Or install antwork-skills, the plugin that ships this one along with the rest of its 12 skills, 5 agents, 2 MCP servers.

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 antwork-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/iker-gonzalez/antwork-skills/antwork-setup/github.svg)](https://agentmods.dev/skills/iker-gonzalez/antwork-skills/antwork-setup)
Your own site
<a href="https://agentmods.dev/skills/iker-gonzalez/antwork-skills/antwork-setup"><img src="https://agentmods.dev/badge/skills/iker-gonzalez/antwork-skills/antwork-setup/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 antwork-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/iker-gonzalez/antwork-skills/antwork-setup"><img src="https://agentmods.dev/badge/skills/iker-gonzalez/antwork-skills/antwork-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,053 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.00102 $0.01053
Opus 5 $0.00051 $0.00526
Sonnet 5 $0.00020 $0.00211
Haiku 4.5 $0.00010 $0.00105

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

Security

Grade A, and why

antwork-setup 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 8d 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.

skills/antwork-setup/SKILL.md · 65 lines

How it starts

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

Setting up Antwork

This skill gets a user from "just connected the Antwork MCP" to "ready to publish." Run it top to bottom for first-time onboarding; jump to the relevant step for a specific fix (e.g. a dead token). Antwork is MCP-native — everything here is a tool call, not a dashboard click.

1. Confirm who's authenticated

Start with whoami. It returns the user ID, email, display name, subscription status, and default workspace.

  • If it errors on auth, the MCP connector isn't authorized — tell the user to connect/authorize the Antwork connector in their client, then retry.
  • Note the subscription status (active / trialing / canceled / past_due). If it's canceled or past_due, surface that early — publishing may be blocked — rather than letting them hit a wall later.

2. Resolve the workspace

Call list_workspaces.

  • No workspacescreate_workspace(name) (1–50 chars). The first one is auto-set as default.
  • Multiple workspaces, no default → ask which one, then set_default_workspace(workspace_id). Until a default is pinned, every other tool will keep asking you to disambiguate.
  • One workspace → it's auto-selected; nothing to do.

Then get_workspace_settings to read the current name, timezone, preferred posting times, and connected platforms — this is your baseline for steps 4–5.

3. Audit connected accounts

Call list_social_accounts. For each account check tokenHealthStatus:

  • healthy — good.
  • expiring_soon — works now, flag it; reconnect soon.
  • expired / needs_reconnectionbroken; scheduled posts on this account will NOT publish until reconnected.

List back what's connected vs. broken vs. missing, one line per platform, before doing anything.

4. Connect or reconnect platforms

For any platform the user wants but isn't connected (or is unhealthy), call get_connection_urls. It returns per-platform OAuth URLs and a connected/notConnected breakdown.

  • On UI hosts (Claude.ai, Claude Desktop) it renders a connections panel — point the user at it.
  • On CLI hosts (Claude Code, Cursor) there's no panel — give the user the exact OAuth URL to open in a browser, one per platform they asked for.

Read the full file on GitHub · 65 lines

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. 8d ago First seen · 65 lines · 102 tokens per session scan A d06f72dcf856

Subscribe to this mod's changes

antwork-setup is a skill published in the GitHub repository iker-gonzalez/antwork-skills (0 stars, last pushed 2mo ago), licensed MIT. It adds 102 tokens to every session and 1,053 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

ib-trailing-stop

Server-side trailing stop management for stocks and naked LEAPS in IB. Places native TRAIL orders that auto-ratchet the stop as price climbs. Dry-run by default. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 49 tokens

scanner-pmcc

Scan stocks for Poor Man's Covered Call (PMCC) suitability. Analyzes LEAPS and short call options for delta, liquidity, spread, IV, yield, trend direction, and earnings proximity. Use when user asks about PMCC candidates, diagonal spreads, or LEAPS strategies.

staskh/trading_skills · 63 tokens

ib-collar

Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 30 tokens

ib-portfolio-action-report

Generate a comprehensive portfolio action report with earnings dates and risk assessment. Use when user asks for portfolio review, action items, earnings risk, or position management across IB accounts. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 49 tokens

ib-trades-history

Fetch trade executions from Interactive Brokers filtered by account, date range, or symbol. Supports live API (7 days history) and FlexReport (full history). Use when user asks about their trades, executions, or transaction history. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 59 tokens

scanner-bullish

Scan stocks for bullish trends using technical indicators (SMA, RSI, MACD, ADX). Use when user asks to scan for bullish stocks, find trending stocks, or rank symbols by momentum.

staskh/trading_skills · 45 tokens