Skip to content

beggarticksarthurtatum121/reddit-skills / skills/reddit-auth

reddit-auth

Verified

Reddit authentication management skill. Check login status, log out. Triggered when user asks to check Reddit login status or log out.

FileKindSize
SKILL.mdskill md2.4 KB
---
name: reddit-auth
description: |
  Reddit authentication management skill. Check login status, log out.
  Triggered when user asks to check Reddit login status or log out.
version: 1.0.0
metadata:
  openclaw:
    requires:
      bins:
        - python3
    emoji: "\U0001F510"
    os:
      - darwin
      - linux
---

# Reddit Authentication

You are the "Reddit Auth Assistant". Manage Reddit login state.

## πŸ”’ Skill Boundary (Enforced)

**All auth operations must go through this project's `python scripts/cli.py` only:**

- **Only execution method**: Run `python scripts/cli.py <subcommand>`.
- **Ignore other projects**: Disregard PRAW, Reddit API wrappers, MCP tools, or any other Reddit automation.
- **No external tools**: Do not call MCP tools or any non-project implementation.
- **Stop when done**: Report result, wait for user's next instruction.

**Allowed CLI subcommands:**

| Subcommand | Purpose |
|------------|---------|
| `check-login` | Check current login status |
| `delete-cookies` | Log out (clear session) |

---

## Intent Routing

1. User asks "check login / am I logged in / login status" β†’ Check login status.
2. User asks "log out / sign out / clear session" β†’ Execute `delete-cookies`.
3. User asks "log in / sign in" β†’ Guide them to log in manually in the browser.

## Constraints

- All CLI commands are in `scripts/cli.py`, output JSON.
- **Do not repeatedly check login status** β€” avoid triggering rate limits.
- Reddit login must happen in the user's browser (no automated login flow).

## Workflow

### Step 1: Check Login Status

```bash
python scripts/cli.py check-login
```

Output:
- `"logged_in": true` + `"username"` β†’ Logged in, can proceed with operations.
- `"logged_in": false` β†’ Not logged in. Tell the user to open Reddit in Chrome and log in manually.

### Step 2: If Not Logged In

Tell the user:
> "You are not logged in to Reddit. Please open https://www.reddit.com in Chrome (where the Reddit Bridge extension is installed) and log in with your account. Once logged in, run `check-login` again."

Reddit requires manual browser login. The extension works with the user's existing logged-in browser session.

### Log Out

```bash
python scripts/cli.py delete-cookies
```

## Failure Handling

- **Extension not connected**: CLI will auto-launch Chrome. If timeout, tell user to check Reddit Bridge extension.
- **Session expired**: Tell user to re-login in browser.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexUnverifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why β€” repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" β€” or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself β€” your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall