Skip to content
Automation
Skill

/reputation-audit

AI risk-scores an account's own posts across professional, hostile, legal, and spam exposure, produces a 0-100 reputation score with a shareable card, and offers one-click cleanup of what it flags. Use when a user wants to audit their own timeline for embarrassing or risky

From plugin
xactions
65350 skills

Claude Code

$ npx -y skills add nirholas/XActions --skill reputation-audit --agent claude-code

SKILL.md

reputation-audit.SKILL.md
name: reputation-audit
description: AI risk-scores an account's own posts across professional, hostile, legal, and spam exposure, produces a 0-100 reputation score with a shareable card, and offers one-click cleanup of what it flags. Use when a user wants to audit their own timeline for embarrassing or risky posts, "clean up my account before a job search", or check what they said that could come back to bite them.
license: Apache-2.0
metadata:
  author: nichxbt
  version: "1.0"

Reputation Audit

Scores your own posts against a risk rubric with one LLM call per post, then rolls the verdicts into a 0-100 reputation score, a letter grade, and the specific posts worth a second look. Three surfaces share one scoring engine (`src/ai/reputationScorer.js`): a browser script that also renders a downloadable, shareable score card image; a CLI command for scripting; and an API route for agents.

This audits *your own* content for risk, not someone else's account and not follower quality. For follower/network audits, use [Community Health Monitoring](../community-health-monitoring/SKILL.md). For bulk-deleting by age, keyword, or engagement rather than AI-judged risk, use [Content Cleanup](../content-cleanup/SKILL.md).

The rubric

Every post is scored 0 (no risk) to 100 (severe) on up to four dimensions in a single model call, plus an optional custom question:

| Dimension | Question | |-----------|----------| | 💼 Professional | Would this embarrass the author to an employer, client, or business partner? | | ⚔️ Hostile | Is this a personal attack on someone named or identifiable? | | ⚖️ Legal exposure | Defamation, doxxing, a threat, leaked confidential info, an unkeepable promise? | | 🗑️ Low value | Low-effort spam or filler that adds nothing? |

The overall score for a post is the MAX across its dimensions, not the average: one severe dimension and three clean ones is still a post worth flagging. Verdict: `flagged` at 70+, `review` at 40-69, `clean` below 40 (`FLAG_THRESHOLD` / `REVIEW_THRESHOLD` in the scorer module).

The account-level reputation score blends the average risk across all scanned posts (60%) with the single worst post (40%), so one severe outlier still pulls the grade down even when everything else is clean.

The report carries `dimensionAverages` and `dimensionPeaks` side by side. Read and present the peak, not just the average: one post at 92 among four clean ones averages to 18, and reporting only that contradicts the grade the same report gives.

Browser script (with the shareable score card)

**File:** `scripts/reputationAudit.js` — full guide: `docs/reputation-audit.md`

The only surface that renders the downloadable/copyable PNG score card.

How to use

1. Open the user's own profile: `x.com/USERNAME` (or `/with_replies`, the biggest source of risk on most accounts) 2. DevTools (F12) then Console 3. Paste the script. A panel appears bottom-right pre-loaded with all four dimensions on 4. Click Scan. Read the score, download or copy the card, optionally clean up what got flagged (its own dry run, off by default)

What to tell the user

  • Scanning only reads and scores. Nothing is touched until Cleanup runs, and

that starts in dry run.

  • Cleanup reuses the same verified-delete logic as `scripts/searchSweep.js`

and only ever touches the account's own posts.

  • The card downloads as a 1200x675 PNG (X's own card ratio) or copies straight

to the clipboard to paste into a new post.

  • Scored posts are cached locally for 14 days by id + rubric, so re-scanning

after a cleanup or the next day does not re-bill already-scored posts.

CLI

**File:** `src/cli/commands/reputation.js`

xactions reputation USERNAME
xactions reputation USERNAME --replies --limit 200
xactions reputation USERNAME --dimensions hostile,legal --custom-question "Does this reveal my employer?"
XAI_API_KEY=xai-... xactions reputation USERNAME --provider xai --json

Prints the score, a bar per dimension, and the flagged/review posts with the reason each was flagged. `--json` for scripting; no card image (terminal-only, point the user to the browser script for that).

SDK / API

**Module:** `src/ai/reputationScorer.js`, exported from the package root as `scorePost`, `scorePosts`, `summarizeReport`, `scoreToGrade`, `DIMENSIONS`.

import { scorePosts, summarizeReport } from 'xactions';

const scores = await scorePosts(posts, { provider: 'xai', apiKey, dimensions: ['professional', 'legal'] });
const report = summarizeReport(posts, scores);

**API:** `POST /api/ai/reputation/score` (x402-priced, `reputation:score`, $0.01/call) takes `{ posts, dimensions?, customQuestion?, provider?, model?, apiKey? }` and returns `{ report, scores }`. `GET /api/ai/reputation/dimensions` lists the rubric with no payment required. Both are documented in `/openapi.json` under the `Reputation` tag for agent discovery.

Any LLM provider

xAI (Grok) works straight from the browser console: x.com's Content-Security-Policy allows `api.x.ai`. OpenAI, Anthropic, OpenRouter, and Ollama need the browser extension bridge (`extension/`), or use the CLI/SDK, which has no CSP to work around.

Related Skills

  • **content-cleanup** — bulk-delete by age/keyword/engagement instead of AI-judged risk
  • **community-health-monitoring** — audits your followers and network, not your own posts
  • **analytics-insights** — general engagement and performance analytics
Read more
@nirholas
Ships withxactions

⚡ The Complete X/Twitter Automation Toolkit — Scrapers, MCP server for AI agents (Claude/GPT), CLI, browser scripts. No API fees. Open source. Unfollow people who don't follow back. Monitor real-time analytics. Auto follow, like, comment, scrape, without API. Follow Bot. Like bot. Grow your account automatically.

Stars on GitHub

Momentum

stars in total
653
Star history of nirholas/XActions on GitHub, a chart by star-history.com

Other skills on xactions.

a2a-multi-agent

a2a-multi-agent

Runs XActions as an A2A (Agent-to-Agent) compatible agent that serves an Agent Card, accepts JSON-RPC tasks, bridges them onto…

@nirholas@nirholasInstall Skill
account-backup

account-backup

Export and backup your X/Twitter account data — tweets, likes, bookmarks, followers, and following — as downloadable JSON. Also…

@nirholas@nirholasInstall Skill
account-tools

account-tools

Miscellaneous account utilities — view join date, login history, connected accounts, appeal suspension, QR code sharing,…

@nirholas@nirholasInstall Skill
algorithm-cultivation

algorithm-cultivation

Trains an X/Twitter account's algorithmic feed to surface niche-relevant content and positions the account as a thought leader.…

@nirholas@nirholasInstall Skill
analytics-insights

analytics-insights

Analyze X/Twitter engagement, hashtags, competitors, best posting times, follower demographics, tweet performance, viral…

@nirholas@nirholasInstall Skill
articles-longform

articles-longform

Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting,…

@nirholas@nirholasInstall Skill

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n12d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about reputation-audit.

Which coding agents can use reputation-audit?
reputation-audit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.