Agent skill · Audited from source
Bug Detective
skill · Galaxy-Dawn/claude-scholarMIT licenceAudited 7 Oct 2026 · source 29ad4d4206fb
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 29ad4d4206fb and found no filesystem, network or shell access and no hard-coded secrets. What it does: This skill should be used when the user asks to "debug this", "fix this error", "investigate this bug", "troubleshoot this issue", "find the problem", "something is broken", "this isn't working", "why is this failing",…
Cite
Cite this page
ModelsAtlas. “Bug Detective (Galaxy-Dawn/claude-scholar)”. Retrieved 7 Oct 2026. https://modelsatlas.com/skills/galaxy-dawn/bug-detective
Trust audit
Audit 0.4.1 · source read 7 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 29ad4d4206fb · 7 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherGalaxy-Dawn GitHub userOwner of the repository this skill is read from
- Source folderGalaxy-Dawn/claude-scholar/skills/bug-detectiveThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict29ad4d4206fbA new audit runs when the source changes
- Repository statusNot archivedLast push 14 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: This skill should be used when the user asks to "debug this", "fix this error", "investigate this bug", "troubleshoot this issue", "find the problem", "something is broken", "this isn't working", "why is this failing",…
---
name: bug-detective
description: This skill should be used when the user asks to "debug this", "fix this error", "investigate this bug", "troubleshoot this issue", "find the problem", "something is broken", "this isn't working", "why is this failing", or reports errors/exceptions/bugs. Provides systematic debugging workflow and common error patterns.
version: 0.1.0
---
# Bug Detective
A systematic debugging workflow for investigating and resolving code errors, exceptions, and failures. Provides structured debugging methods and common error pattern recognition.
## Core Philosophy
Debugging is a scientific problem-solving process that requires:
1. **Understand the problem** - Clearly define symptoms and expected behavior
2. **Gather evidence** - Collect error messages, logs, stack traces
3. **Form hypotheses** - Infer possible causes based on evidence
4. **Verify hypotheses** - Confirm or eliminate causes through experiments
5. **Resolve the issue** - Apply fixes and verify
## Debugging Workflow
### Step 1: Understand the Problem
Before starting to debug, clarify the following information:
**Required information to collect:**
- Complete error message content
- Exact location of the error (filename and line number)
- Reproduction steps (how to trigger the error)
- Expected behavior vs actual behavior
- Environment info (OS, versions, dependencies)
**Question template:**
```
1. What is the exact error message?
2. Which file and line does the error occur at?
3. How can this issue be reproduced? Provide detailed steps.
4. What was the expected result? What actually happened?
5. What recent changes might have introduced this issue?
```
### Step 2: Analyze Error Type
Choose a debugging strategy based on error type:
| Error Type | Characteristics | Debugging Method |
|-----------|----------------|-----------------|
| **Syntax Error** | Code cannot be parsed | Check syntax, bracket matching, quotes |
| **Import Error** | ModuleNotFoundError | Check module installation, path config |
| **Type Error** | TypeError | Check data types, type conversions |
| **Attribute Error** | AttributeError | Check if object attribute exists |
| **Key Error** | KeyError | Check if dictionary key exists |
| **Index Error** | IndexError | Check list/array index range |
| **Null Reference** | NoneType/NullPointerException | Check if variable is None |
| **Network Error** | ConnectionError/Timeout | Check network connection, URL, timeout settings |
| **Permission Error** | PermissionError | Check file permissions, user permissions |
| **Resource Error** | FileNotFoundError | Check if file path exists |
### Step 3: Locate the Problem Source
Use the following methods to locate the issue:
**1. Binary Search Method**
- Comment out half the code, check if the problem persists
- Progressively narrow the scope until the problematic code is found
**2. Log Tracing**
- Add print/logging statements at key locations
- Track variable value changes
- Confirm code execution path
**3. Breakpoint Debugging**
- Use debugger breakpoint functionality
- Step through code execution
- Inspect variable state
**4. Stack Trace Analysis**
- Find the call chain from the stack trace in the error message
- Determine the direct cause of the error
- Trace back to the root cause
### Step 4: Form and Verify Hypotheses
**Hypothesis framework:**
```
Hypothesis: [problem description] causes [error phenomenon]
Verification steps:
1. [verification method 1]
2. [verification method 2]
Expected results:
- If hypothesis is correct: [expected phenomenon]
- If hypothesis is wrong: [expected phenomenon]
```
### Step 5: Apply Fix
After fixing, verify:
1. The original error is resolved
2. No new errors have been introduced
3. Related functionality still works correctly
4. Tests added to prevent regression
## Python Common Error Patterns
### 1. Indentation Errors
### 2. Mutable Default Arguments
### 3. Closure Issues in Loops
### 4. Modifying a List While Iterating
### 5. Using `is` for String Comparison
### 6. Forgetting to Call `super().__init__()`
## JavaScript/TypeScript Common Error Patterns
### 1. `this` Binding Issues
### 2. Async Error Handling
### 3. Object Reference Comparison
## Bash/Zsh Common Error Patterns
### 1. Spacing Issues
```bash
# ❌ No spaces allowed in assignment
name = "John" # Error: tries to run 'name' command
# ✅ Correct assignment
name="John"
# ❌ Missing spaces in conditional test
if[$name -eq 1]; then # Error
# ✅ Correct
if [ $name -eq 1 ]; then
```
### 2. Quoting Issues
```bash
# ❌ Variables not expanded inside single quotes
echo 'The value is $var' # Output: The value is $var
# ✅ Use double quotes
echo "The value is $var" # Output: The value is actual_value
# ❌ Using backticks for command substitution (confusing)
result=`command`
# ✅ Use $()
result=$(command)
```
### 3. Unquoted Variables
```bash
# ❌ Unquoted variable, empty value causes errors
rm -rf $dir/* # If dir is empty, deletes all files in current directory
# ✅ Always quote variables
[ -n "$dir" ] && rm -rf "$dir"/*
# Or use set -u to prevent undefined variables
set -u # or set -o nounset
```
### 4. Variable Scope in Loops
```bash
# ❌ Pipe creates subshell, outer variable unchanged
cat file.txt | while read line; do
count=$((count + 1)) # Outer count won't change
done
echo "Total: $count" # Outputs 0
# ✅ Use process substitution or redirection
while read line; do
count=$((count + 1))
done < file.txt
echo "Total: $count" # Correct output
```
### 5. Array Operations
```bash
# ❌ Incorrect array access
arr=(1 2 3)
echo $arr[1] # Outputs 1[1]
# ✅ Correct array access
echo ${arr[1]} # Outputs 2
echo ${arr[@]} # Outputs all elements
echo ${#arr[@]} # Outputs array length
```
### 6. String Comparison
```bash
# ✅ Use `=` inside POSIX `[` tests and `==` inside Bash `[[ ]]` tests
if [ "$name" = "John" ]; then
if [[ "$name" == "John" ]]; then
# ❌ Using -eq for numeric comparison instead of =
if [ $age = 18 ]; then # Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 29ad4d4
git clone https://github.com/Galaxy-Dawn/claude-scholar git -C claude-scholar checkout 29ad4d4206fb
The author documents no install command, so this uses the repository directly. Our verdict covers commit 29ad4d4206fb only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
29ad4d4206fb
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/galaxy-dawn/bug-detective/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All research skills →Galaxy-Dawn/claude-scholar
Use when creating or configuring Claude Code agents and their frontmatter.
Galaxy-Dawn/claude-scholar
Use only when creating new registrable ML components that require Factory or Registry patterns.
Galaxy-Dawn/claude-scholar
This skill provides reference guidance for citation verification in academic writing. Use when the user asks about "citation verification best practices", "how to verify references", "preventing fake citations", or…
Galaxy-Dawn/claude-scholar
This skill should be used when the user asks to review a diff or pull request, write review comments, audit code quality, establish review standards, or improve how a team performs code review.
Galaxy-Dawn/claude-scholar
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file…
Galaxy-Dawn/claude-scholar
Use for everyday coding tasks that involve writing or modifying source code.
Add this badge to your README
[](https://modelsatlas.com/skills/galaxy-dawn/bug-detective/)
<a href="https://modelsatlas.com/skills/galaxy-dawn/bug-detective/"><img src="https://modelsatlas.com/skills/galaxy-dawn/bug-detective/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Bug Detective
What does the Bug Detective skill do?
Is Bug Detective safe to install?
What can Bug Detective access on my machine?
How current is this page?
Sources
- github.com/Galaxy-Dawn/claude-scholar/tree/main/skills/bug-detec — the audited source at commit 29ad4d4206fb and every finding aboveObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Bug Detective skill do?
- Is Bug Detective safe to install?
- What can Bug Detective access on my machine?