How to store query and notebook snippets for data scientists in 2026
Practical steps for data scientists to store SQL queries and notebook snippets, with the options to compare and the mistakes to avoid.
SupaKeeper is published by LunarWerx, the makers of AgentHydra, Copilot AI Productivity Suite, Codex Forecast and Model Odds, which are compared here alongside other tools.
To store query and notebook snippets, pick one place to keep them, save each one under a clear name, and check that the place suits how you share work with teammates. The steps below cover those checks, and the table shows what to look for in each option.
| Option | What it can do | What to check |
|---|---|---|
| Copilot AI Productivity Suite | Snippets can sit in nested folders, and several can be bundled into one group that is referenced all at once. [1] | Check the Free plan, which allows 20 Copilot insertions a week. [1] |
| Snippet features built into your notebook or editor | Not described here. Check the product's own documentation for saving and grouping. | Check what it saves, who can see it, and whether it covers the languages you use. |
| Shared repository or team wiki | Not described here. Check the product's own documentation for saving and grouping. | Check who can edit the files, and how changes are tracked. |
What you need before you start
Data scientists usually reuse a small set of pieces again and again: a database query, a block of notebook code that loads a file, and setup lines that import the same libraries. Before you store them, list the pieces you repeat most often and note which database, notebook environment and editor you use for each. Keep the names or short labels that help you recognize each piece, such as the table it reads or the report it feeds.
Decide who needs to see the snippets. A personal set can live in one place, while a shared set needs a location teammates can open and a rule for who can change it. Check whether any snippet holds passwords, access keys or customer data. Those values should stay out of stored snippets and be read from a secure source when the snippet runs.
Finally, check that the place you pick works on the machines and editors you already use, because a snippet store that does not open in your daily setup will go unused.
Step by step
- Collect the queries and notebook cells you rerun most often. Copy each one into a plain text or code file first so you can read it outside its original notebook.
- Remove passwords, keys and personal details from each copy. Replace them with a placeholder that the person running the snippet fills in.
- Give each snippet a name that says what it does and which source it uses, such as 'weekly signups by region' rather than 'query 3'.
- Group related snippets into folders by project or by data source. Keep each group small enough that you can scan it quickly.
- Add a short comment at the top of each snippet that lists its inputs, the dates it assumes and the columns it returns. Anyone who opens it later can then run it correctly.
- Mark the values that change between runs, such as a date range or a table name, so the snippet asks for them rather than being edited by hand.
- Run each saved snippet once in the environment where it will be used. Note the row counts you expect, so a later change in results is easy to spot.
- Decide how the set is shared. For a team, export it or place it in a shared repository, and agree on who edits which folder.
- Review the set on a regular schedule and whenever a project ends. Remove snippets that no longer match a live table or question.
Tools that can do it
Copilot AI Productivity Suite is made by the team that publishes this site. It is a VS Code extension that needs VS Code 1.116.0 or newer, and it is also on Open VSX, an extension store for Cursor, Windsurf and VSCodium. [1] You install it from the VS Code Marketplace as LunarWerx.copilot-suite. [1]
Snippets can sit in nested folders, and you can bundle several into a group that is referenced all at once. [1] Inside Copilot Chat, typing a snippet's reference inserts the exact saved template into the conversation. [1] A snippet can hold placeholders, and the tool asks you for a value each time the snippet is inserted. [1] You can select several snippets and move, delete or insert them together. [1]
You can export snippets as a JSON file or make a share link, and teammates can import it. [1] If you sign in with an account, using a one-time code sent by email, your snippets, groups and settings sync across your machines. [1]
Other approaches include the snippet features already in your notebook or editor, and a shared repository or team wiki. Compare each one against the job of storing query and notebook snippets, and use the table above to check what to look for.
Common mistakes to avoid
Avoid saving real passwords or customer details inside a snippet. Replace those values with placeholders and load them from a secure source when the snippet runs.
Avoid unclear names. A snippet called 'query 3' is hard to find later, while a name that states the source and purpose can be found in one search.
Avoid choosing a tool before checking where it runs. Copilot AI Productivity Suite works in VS Code and the editors listed in the table, so confirm that your editor is one of them.
Avoid relying on sync before you check the sign-in step. Sync depends on signing in with an account. [1]
Avoid overlooking the terms of use. The extension uses a proprietary licence, and the software is proprietary and confidential to LunarWerx, so read those terms before using it for team work. [1]
Avoid assuming that telemetry is all or nothing. While VS Code telemetry is on, it sends anonymous usage statistics, but never snippet content. [1]
Frequently asked questions
How do data scientists store query and notebook snippets?
A common approach is to keep each reusable query or code block in a named file or saved snippet, grouped by project or data source. A short comment at the top should list the inputs, the dates assumed and the columns returned. Use placeholders in place of passwords and file paths, and review the set regularly so that snippets tied to old tables are removed. Whichever place you use, check who can read and edit it.
Can Copilot AI Productivity Suite sync snippets across machines?
Sync depends on signing in. If you sign in with an account, using a one-time code sent by email, your snippets, groups and settings sync across your machines. [1] Before relying on sync for shared work, check that the sign-in step and the account arrangements suit your team.
Is Copilot AI Productivity Suite free to use?
The Free plan costs $0 and allows 20 Copilot insertions a week. [1] The Premium plan costs $6.99 a month and has unlimited Copilot insertions. [1] Check which plan covers the number of insertions your work needs before choosing one.
Does Copilot AI Productivity Suite work in editors other than VS Code?
It is a VS Code extension that needs VS Code 1.116.0 or newer, and it is also on Open VSX, an extension store for Cursor, Windsurf and VSCodium. [1] Check that the editor you use is one of these before installing it. The extension installs from the VS Code Marketplace as LunarWerx.copilot-suite. [1]
What should be checked before choosing a tool for storing snippets?
Check where the tool runs, who can see the snippets, how sharing works, and whether the price matches your use. Check how secrets are handled, since a snippet should not hold passwords or customer data. Check the terms that apply to the tool before using it for team work. A short trial with a few real snippets shows more about fit than a feature list does.
There is a Free plan at $0 that allows 20 Copilot insertions a week. [1]
Try Copilot AI Productivity SuiteSources
Related comparisons
- How to advise customers on AI model upgrades
- How AI community managers answer release date questions
- How to anticipate rate limit interruptions for API integrators
- How to audit agent commands in each session in 2026
- How to audit agent sessions across projects
- Audit What an Agent Ran in Each Session for DevOps
- How freelance coders avoid hitting limits mid-task
- How to avoid hitting the weekly cap for Claude users
- How to avoid running out mid-project in Cursor
- How to budget AI usage per sprint