analysis-artifacts
Skill825 starsChanged 7 months agoMITView on GitHub
Generate reproducible analysis artifacts — SQL queries, Python visualizations, and summary tables — as you work through a BigQuery data analysis. Use when asked to conduct a deep dive, exploratory analysis, or investigation that goes beyond a simple data lookup.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- davidanthonyn/claude-skillsword for word, first seen Oct 20, 2026
Other versions1 project uses a version of this.
Word for word · 1
- davidanthonyn/claude-skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ci-fixSkill
- create-pull-requestSkill
- dbt-model-indexSkill
- docs-updateSkill
- github-bug-report-triageSkill
- github-issue-dedupeSkill
- mcp-builderSkill
- schedulerSkill
- seo-aeo-auditSkill
- slack-qa-investigateSkill
- terraform-style-checkSkill
- web-accessibility-auditSkill
- webapp-testingSkill
- web-performance-auditSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 12 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
When asked to do a "deep dive" or "analysis" on a question with a non-obvious answer
- Distinctive: line 11
When the analysis requires exploratory querying in BigQuery
- Distinctive: line 12
When the output should be reproducible and shareable (not just a one-off answer)
- Very specific: line 20
Create a new directory in the analyses folder, named according to the existing pattern there
- Very specific: line 21
Create subdirectories: /assets/queries and /assets/visualizations
- Distinctive: line 22
Create a README.md at the root of the new directory — this is the main readable document for the analysis
- Distinctive: line 26
Always create a plan before starting, whether or not the user asked for one.
- Distinctive: line 32
Add a title, author, and date to the top of the README
- Distinctive: line 33
Add a Problem Statement section summarizing the analysis question and the sub-pieces you'll explore
- Distinctive: line 34
Add a Cohorts Definition section.
- Distinctive: line 51
If you need to redo part of the analysis (due to a methodology correction or user feedback), overwrite all associated artifacts:
- Distinctive: line 61
When the analysis is complete (either at the end of the plan or when the user asks), write the full README:
- Distinctive: line 68
Add a TL;DR section near the top (after Problem Statement, before Cohorts Definition)
- Distinctive: line 69
Add a Key Takeaways section at the end
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Analysis Artifacts
When to Use
- When asked to do a "deep dive" or "analysis" on a question with a non-obvious answer
- When the analysis requires exploratory querying in BigQuery
- When the output should be reproducible and shareable (not just a one-off answer)
Workflow
1. Scaffold the analysis directory
At the start of every analysis:
- Create a new directory in the
analysesfolder, named according to the existing pattern there - Create subdirectories:
/assets/queriesand/assets/visualizations - Create a
README.mdat the root of the new directory — this is the main readable document for the analysis
2. Plan the analysis
Always create a plan before starting, whether or not the user asked for one. Steps in the plan should map to the logical sub-questions or sub-areas you've deemed important to explore. Present the plan and wait for a go-ahead before proceeding.
3. Set up the README
Once the plan is approved:
- Add a title, author, and date to the top of the README
- Add a Problem Statement section summarizing the analysis question and the sub-pieces you'll explore
Add a Cohorts Definition section. This must be extremely explicit about the groups being compared. If comparing two groups (e.g., free vs. paid, new vs. old, before vs. after a milestone), define cohorts in a way that controls for confounding factors. Consider:
- Signup/activation time (as defined by your product — e.g., first login, first meaningful action); this relates to user tenure
- Plan type or subscription tier (e.g., free vs. paid)
- Controlling for observation time window length across cohorts
- Product-specific usage propensity metrics relevant to the analysis question
Once defined, respect these cohort definitions in all queries throughout the analysis.
4. Create artifacts as you go
For every material step in the analysis:
- SQL query artifact: For any BigQuery query that powers a visualization, summary, or key insight, save a
.sqlfile in/assets/queries/with a descriptive name and a comment block explaining the query's purpose. Only create the file after you're satisfied with the results. Skip trivial or one-off lookup queries. - Visualization or table artifact: For each key insight, assess whether it's best conveyed through a chart or a table. Lean toward visualizations. If a visualization, write a Python script to generate it and save both the script and the output image to
/assets/visualizations/with descriptive names. If a table, save it as a.csvin/assets/visualizations/.
5. Overwriting artifacts
If you need to redo part of the analysis (due to a methodology correction or user feedback), overwrite all associated artifacts:
- Replace the
.sqlquery file - Replace the visualization script and regenerate the image
- Replace the
.csvtable file
Note the change to the user when you do this.
6. Summarize the analysis
When the analysis is complete (either at the end of the plan or when the user asks), write the full README:
- Summarize each step and sub-question in logical document sections
- Be crisp and concise — avoid unnecessary verbosity
- Embed saved viz images from
/assets/visualizations/where appropriate - Generate markdown tables from
.csvfiles in/assets/visualizations/ - Include a small reference hyperlink to the associated query file in each section
- Add a TL;DR section near the top (after Problem Statement, before Cohorts Definition)
- Add a Key Takeaways section at the end
Examples
analyses/
└── 2024-01-user-retention/
├── README.md
└── assets/
├── queries/
│ ├── cohort_retention_by_week.sql
│ └── retention_by_plan_type.sql
└── visualizations/
├── retention_curve.py
├── retention_curve.png
└── plan_type_summary.csvDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

