Dan (@danbogs) header
Dan (@danbogs) profile picture

US ARMY Veteran, Claude AI developer, DBA since 2000.

Pittsburgh Pa
Joined April 2009
Photo by Dan (@danbogs)Photo by Dan (@danbogs)Photo by Dan (@danbogs)Photo by Dan (@danbogs)Photo by Dan (@danbogs)Photo by Dan (@danbogs)Photo by Dan (@danbogs)Photo by Dan (@danbogs)Photo by Dan (@danbogs)
Replying to @seatosummitgear
@seatosummitgear can you guys please make your bags a little larger. As a pro account purchaser, this is the second time one of your products is almost impossible to put back into the original stuff sack. anyone who has done long hikes or canoes, knows that you’re always just stuffing wet tarps into a stuff sack for the next use. I’ve now tried 5 times and cannot get this in to the bag it came with.
2
62
Replying to @AnthropicAI
@AnthropicAI @bcherny This was a first. Claude just decided it really didn't want to do this. Scary to think that a dba trying to query some code is being told "this conversation is becoming too complicated"????
1
37
Replying to @thatjeffsmith
@thatjeffsmith Hey Jeff -- SQLcl MCP 25.4.1 tries to CREATE TABLE DBTOOLS$MCP_LOG on every connection, even with a least-priv monitoring account (CREATE SESSION + SELECT_CATALOG_ROLE only). Generates ORA-942 in the alert log each time. Is there a way to disable the MCP audit logging, or should we just pre-create the table? Seems like it shouldn't need write privs for a read-only usecase.
1
1
103
Working all weekend, getting my dopamine fix. Redoing dashboards and backend databases with Claude Desktop Code.
1
1
106
Replying to @trq212
@trq212 @bcherny @AnthropicAI Claude Code v2.1.69 broke all Bedrock proxy users (Portkey, LiteLLM, etc.) — sends advanced-tool-use-2025-11-20 beta header that Bedrock rejects with "invalid beta flag". CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 doesn't help. Had to roll back to v2.1.63. Root cause: provider detection only checks CLAUDE_CODE_USE_BEDROCK env var, not the actual backend. Anyone routing through a gateway gets treated as first-party API and receives unsupported betas. This is the third time this pattern has broken proxy users (v2.1.23, now v2.1.69). @AnthropicAI please add gateway-aware provider detection or a real kill switch for ALL beta headers. github.com/anthropics/claude…
86
Getting an apology from Claude :) Was going down a rabbit hole on this one. I knew that I was correct! @AnthropicAI
168
Heads up: @claudeai (Opus on @awscloud Bedrock) hallucinated SQL Server recovery model—called SIMPLE DBs “FULL” while the raw DMV dump showed SIMPLE. Data ✅, analysis ❌. Fix: structured fields (table/JSON) + prompt “no inference.” @AnthropicAI #SQLServer #LLM
55
Just finishing up the @ConcentraHealth dashboard. GUI with #OpenAI Codex, coding with @AnthropicAI using their new Claude Code desktop with preview.
88
Now, only if I could get Claude to create GUIs like CODEX. Had a hard time getting Concentra data, but both Claude and Manus (through Telegram) got what I needed. Manus's data set was not as large but had some extra fields. @ConcentraHealth Next step is tying this into Google Maps for better #visualization
86
Claude Opus 4.6. I have to restart and loose sessions on this exact issue 3 times today. Is there anyway to send an interrupt to Claude. @AnthropicAI @bcherny @_catwu I have to do a screen copy of the entire session then paste back into a new session.
2
121
#ClaudeCode Getting stuck trying to figure out the right prompt — Give Claude a simple “skill”: When I’m drafting a prompt, I prefix it with PC: (Prompt Cleaner). Claude’s job is to take whatever I wrote and rewrite it into a strong, copy/paste-ready prompt. When triggered, it returns: a diagnostic scorecard table (clarity, context, constraints, etc.) a fully rewritten prompt ready to use a brief explanation of what changed and why It’s basically a “prompt editor” that keeps me moving without derailing the session. --- name: prompt-improver description: Analyzes user prompts and suggests improved versions based on prompt engineering best practices. Use this skill whenever a user submits a prompt that could benefit from refinement — especially when it lacks a clear goal, context, role specification, output format, or is vague/ambiguous. This is a single-pass analysis, not an iterative loop. --- # Prompt Improver Skill ## Purpose When a user submits a prompt (for Claude or any AI model), analyze it against prompt engineering best practices and return: 1. A diagnostic assessment of the original prompt 2. A rewritten, improved version of the prompt 3. A brief explanation of what was changed and why ## When to Trigger Activate this skill **ONLY** when the user prefixes their message with the keyword **pc**. - `pc` followed by the prompt = Run the full analysis - No `pc` prefix = Do NOT run the analysis, respond normally This prevents unnecessary token usage on regular conversations. Examples: - ✅ `pc Tell me about databases` → Triggers analysis - ✅ `pc: Write me a Python script` → Triggers analysis - ❌ `Tell me about databases` → Normal response, no analysis ## Analysis Framework Evaluate every submitted prompt against these **5 pillars** (derived from prompt engineering fundamentals): ### 1. Clear Goal (Weight: Critical) - Does the prompt state exactly what the user wants accomplished? - Is the desired outcome unambiguous? - Red flags: vague verbs ("help me with"), open-ended asks ("tell me about"), no success criteria ### 2. Relevant Context (Weight: High) - Does the prompt provide enough background for an accurate response? - Are constraints, scope, and situational details included? - Red flags: missing domain, missing audience, no constraints, no data/examples provided when needed ### 3. Role, Audience, Tone & Complexity (Weight: High) - Is there a specified persona or expertise level for the AI to adopt? - Is the intended audience defined? - Is the desired tone (formal, casual, technical, friendly) indicated? - Is the complexity level appropriate (beginner, expert, executive summary)? - Red flags: no role assignment, tone mismatch with audience, complexity not calibrated ### 4. Output Format (Weight: Medium) - Does the prompt specify the desired format (list, table, paragraph, code, JSON, step-by-step)? - Are length expectations set (brief, detailed, 500 words, etc.)? - Are structural requirements clear (headers, sections, numbered steps)? - Red flags: no format guidance, ambiguous length expectations ### 5. Iterability & Validation (Weight: Low — informational) - Could the prompt benefit from asking the AI to self-check or validate its response? - Would chain-of-thought or step-by-step reasoning improve accuracy? - Note: This pillar is advisory — include suggestions but don't over-engineer the prompt ## Response Format When analyzing a prompt, respond with this structure: --- **🔍 Prompt Analysis** | Pillar | Rating | Notes | |--------|--------|-------| | Clear Goal | ✅ / ⚠️ / ❌ | Brief note | | Relevant Context | ✅ / ⚠️ / ❌ | Brief note | | Role/Audience/Tone | ✅ / ⚠️ / ❌ | Brief note | | Output Format | ✅ / ⚠️ / ❌ | Brief note | | Validation | ✅ / ⚠️ / ❌ | Brief note | **✨ Improved Prompt** > [The rewritten prompt goes here — complete and ready to copy/paste] **📝 What Changed** [2-4 sentences explaining the key improvements made and why they matter] --- ## Rewriting Rules When rewriting the prompt: 1. **Preserve intent**: Never change what the user is trying to accomplish 2. **Add, don't subtract**: Keep everything useful from the original; add what's missing 3. **Be specific but not rigid**: Add structure without over-constraining creativity 4. **Match the user's sophistication**: If the user writes casually, don't make the improved prompt overly formal — keep it natural but effective 5. **Don't over-engineer**: A 10-word prompt doesn't need to become a 500-word system prompt. Scale improvements proportionally 6. **Include role assignment when beneficial**: "Act as a [relevant expert]..." when expertise framing would improve output quality 7. **Add output format only when it matters**: Don't add format specs to simple Q&A prompts ## Examples ### Example 1: Vague Prompt **Original**: "Tell me about databases" **Analysis**: | Pillar | Rating | Notes | |--------|--------|-------| | Clear Goal | ❌ | No specific objective — what aspect of databases? | | Relevant Context | ❌ | No context about user's background or use case | | Role/Audience/Tone | ❌ | No audience or complexity level specified | | Output Format | ❌ | No format preference | | Validation | ⚠️ | Not applicable for this type of query | **Improved**: "Act as a senior database administrator. Explain the key differences between relational databases (like PostgreSQL and SQL Server) and NoSQL databases (like MongoDB), focusing on when to choose each for enterprise applications. Target your explanation at an IT manager evaluating options for a new project. Keep it under 400 words with a comparison table." ### Example 2: Decent But Incomplete **Original**: "Write me a Python script to monitor disk space" **Analysis**: | Pillar | Rating | Notes | |--------|--------|-------| | Clear Goal | ⚠️ | Goal is clear but lacks specifics (thresholds, actions) | | Relevant Context | ❌ | OS? What drives? Alert mechanism? | | Role/Audience/Tone | ❌ | No expertise level for code style | | Output Format | ⚠️ | Implies code but no style preferences | | Validation | ❌ | No error handling or testing requirements | **Improved**: "Write a Python 3 script that monitors disk space on a Linux server. It should check all mounted filesystems, alert when any drive exceeds 85% usage, and log results to a file with timestamps. Include error handling, use the psutil library, and add inline comments explaining each section. Format the output as a clean table showing drive, total space, used space, and percentage." ## Important Notes - This is a **single-pass** analysis. Provide the improved prompt and let the user decide next steps. - If the original prompt is already well-crafted, say so! Rate it highly and suggest only minor tweaks if any. - Always present the improved prompt as a complete, copy-paste-ready block. - Do NOT execute the improved prompt — just present it for the user to review and use.
5
2
97
Replying to @Quest
@Quest @Oracle Can someone explain why we cannot get our tabs to single line in Toad for Oracle? Driving the DBA team nuts.
12
Replying to @Quest
@Quest How do we get the single-line tabs back??
9
You've got to really keep an eye out on what @AnthropicAI Claude is doing. First time using the Claude for excel plugin and not even close to being correct on simple questions.
1
2
93
Just tried the NEW Oracle SQLcl #MCP Server with Claude Code 🔥 Asked: "which tables have over 100K rows?" Then: "which ones don't have any indexes?" Result: 17 of 28 large tables have ZERO indexes. Including a 1.8M row table. 🫠 The setup: • #Claude Code CLI + #Oracle's official SQLcl MCP (just released) • Natural language → SQL → formatted results • No SQL client, no context switching FCT_[REDACTED]_TREATMENTS 1.8M rows ❌ no index FCT_[REDACTED]_APPOINTMENT 1.0M rows ❌ no index DIM_[REDACTED]_PATIENT 347K rows ❌ no index #ClaudeAI #Oracle #OracleMCP #DBA #AI #LLM #MCP #SQLcl
3
2
69
Replying to @ManusAI
@ManusAI can we fix the download to Google Drive? Batch download does not give me the opiton to save to Google Drive. When downloading individual files, I have to select my Google Drive destination folder repeatedly. It would be nice to default to the last selection. Also, shows downloaded, but not seeing anything
153
Replying to @patagonia
@Patagonia Luggage ripped on first trip to South America. Since the color’s discontinued, I’m being told it must be repaired & mailed back—leaving me without luggage and forcing a $300+ purchase for an upcoming trip. That doesn’t feel Ironclad. Hoping Customer Care can help.
25
Replying to @mtsobek
@mtsobek We booked a $20k Sri Lanka trip. After the cyclone and national emergency, we no longer feel safe going but you’re is refusing to cancel. Go on the trip anyway or lose $$$. Not right, when a destination has just been hit by a major disaster. Customers deserve better.
1
31