better-auth-add-plugin
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
Consult fresh Claude subagent for unbiased perspective on code problems. Use when stuck in mental rut, need quick second opinion, or want free alternative to external AIs.
$ npx -y skills add secondsky/claude-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/consult-claudeContext preview
What this command does when you run it.
Consult fresh Claude subagent for unbiased perspective on code problems. Use when stuck in mental rut, need quick second opinion, or want free alternative to external AIs.
name: multi-ai-consultant:consult-claude description: Consult fresh Claude subagent for unbiased perspective on code problems. Use when stuck in mental rut, need quick second opinion, or want free alternative to external AIs. allowed-tools: - Task - Read
You are being asked to consult a fresh Claude subagent for a second opinion on a coding problem or architectural decision.
**Why this is useful**: You (the current Claude instance) may have accumulated context biases or locked into a particular approach. A fresh Claude subagent has no conversation history and can provide an unbiased perspective.
1. **Gather Context**: Read relevant files for the problem 2. **Build Prompt**: Create a clear, specific question with context 3. **Launch Subagent**: Use Task tool with general-purpose subagent 4. **Receive Analysis**: Get fresh perspective from subagent 5. **Synthesize**: Compare subagent's analysis with your own reasoning 6. **Present**: Show 5-part synthesis to user 7. **Log Consultation**: Track usage (free, but still log)
---
**You must read relevant files** before launching subagent. The subagent will NOT have access to your conversation history.
// Use Read tool to gather context // For bug: Read the buggy file + related imports // For architecture: Read key files in the area of concern
**Context to gather**:
**Store context in your working memory** - you'll pass it to the subagent in the prompt.
---
The prompt must include: 1. **Role**: Tell subagent they're providing a second opinion 2. **Problem statement**: What's wrong or what decision is needed 3. **Question**: Specific question for subagent 4. **Context**: Paste relevant code/files inline 5. **Your analysis**: What the primary Claude instance has tried 6. **Instructions**: Ask for specific format
**Format**:
You are providing a second opinion to another Claude Code instance that is stuck on a problem. Problem: [Brief description] Question: [Specific question] Primary Claude's analysis: - Tried: [What was attempted] - Current status: [What's happening] - Hypothesis: [What primary Claude thinks] Context: ```[language] [Paste relevant code here]
[Additional files or context as needed]
Your task: 1. Analyze the problem with fresh eyes 2. Identify what might have been missed 3. Propose solutions 4. Explain your reasoning 5. Note any risks or trade-offs
---
## Step 3: Launch Subagent
Use the **Task tool** with `subagent_type: "general-purpose"`.
```typescript
// Example invocation
Task({
subagent_type: "general-purpose",
description: "Fresh perspective on [bug|architecture]",
prompt: `[Your formatted prompt from Step 2]`
})**Important**:
---
The subagent will return a final message with their analysis.
**What to expect**:
**Remember**: The subagent is equally capable but has different context. Neither of you is "right" by default.
---
You MUST compare the subagent's analysis with your own reasoning. DO NOT just parrot the subagent's response.
**Required sections**:
**End with**: "Should I proceed with this approach?"
---
# Create log directory if needed mkdir -p ~/.claude/ai-consultations # Log consultation (no cost, but track usage) echo "$(date -Iseconds),claude-subagent,claude-sonnet-4-5,0,0,0.00,$(pwd)" \ >> ~/.claude/ai-consultations/consultations.log
**Note**: Claude subagents are free (same API call), but we log them to track consultation patterns.
---
**Advantages of Claude subagent**:
**Limitations**:
**When to use Claude subagent**:
---
**Scenario**: State management bug in React app
**Your situation**:
**Prompt to subagent**:
You are providing a second opinion to another Claude Code instance stuck on a Re
145 production-ready skills for Claude Code CLI ๐ Platform / Harness Support These plugins ship as Claude Code marketplace plugins (.claude-plugin/ manifests) and Codex CLI plugins (.codex-plugin/ manifests).
Repo: secondsky/claude-skills
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
Interactive setup wizard for better-auth authentication. Guides through database, framework, OAuth providers, and plugin configuration.
Explain Better Auth error codes and provide solutions with code examples
Display Better Auth available authentication providers and their configuration