offshore-leaks
Skill by brekkylab
Queries ICIJ's Offshore Leaks database of offshore companies, their owners and intermediaries from five leaks, using search or SQL. Useful for finding a person or company, following links between them, or counting by jurisdiction, intermediary, year or leak.
Install offshore-leaks
Built from the published package, never by AI.
git clone --depth 1 https://github.com/brekkylab/ailoy /tmp/ailoy && mkdir -p ~/.claude/skills && cp -r /tmp/ailoy/examples/offshore_leaks/shared ~/.claude/skills/offshore-leaksRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/brekkylab/ailoy /tmp/ailoy && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ailoy/examples/offshore_leaks/shared ~/.gemini/antigravity-cli/skills/offshore-leaksAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Offshore Leaks queries the ICIJ Offshore Leaks database, a graph of about 2 million nodes and 3.3 million relationships built from five leaks: Offshore Leaks (2013), Panama Papers (2016), Bahamas Leaks (2016), Paradise Papers (2017) and Pandora Papers (2021). It covers offshore companies and trusts, the people and firms behind them, intermediaries and addresses. The DuckDB file at /context/offshore_leaks.duckdb is opened read-only.
The skill provides an oldb.py script with search, node and sql commands that each print JSON. An assistant can also query the data with DuckDB from Python to build charts and networks. ICIJ states that being in the database is not wrongdoing, and the records are partial and dated, so a name match may refer to a different person. It is for researchers, journalists and analysts who want to find or count entities, officers and links.
Written from the project's SKILL.md and checked against it.
What it can do
- searchFinds nodes whose name holds every word of the query, closest first, with an optional kind filter.
- nodeReturns every column of a node and its relationships in both directions, with the node at each end.
- sqlRuns any DuckDB query and can write all rows to CSV, Parquet or JSON by file extension.
- Shared-company lookupFinds which other officers share entities with a given officer, using a two-hop SQL query.
- Charts and networksLets the assistant use DuckDB from Python with pandas, matplotlib and networkx for charts and network drawings.
- Citation linksPoints each node to its ICIJ page so records can be checked and cited.
What you need
- Python 3, since the script is run with python3
- Local copy of the database at /context/offshore_leaks.duckdb
- pandas, matplotlib and networkx for charts and network drawings
Try asking
- Search the offshore leaks for 'mossack fonseca' with kind intermediary
- Count offshore entities in the leaks by jurisdiction, top 20
- Show which other officers share companies with officer node 12000001
Good to know
- The database is opened read-only.
- Each leak reflects one or a few service providers and is only current to its valid_until year, such as 2015 for the Panama Papers.
- Nodes are not deduplicated across leaks, so a name match is not proof of the same person.
- Some dates are NULL or contain typos.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: examples/offshore_leaks/shared/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to offshore-leaks
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
offshore-leaks: common questions
Does appearing in the Offshore Leaks database mean someone broke the law?
No. ICIJ says there are legitimate uses for offshore companies and trusts and does not intend to imply that any entity in the database has broken the law or acted improperly.
Which leaks does the Offshore Leaks database include?
It includes five leaks: the Offshore Leaks (2013), Panama Papers (2016), Bahamas Leaks (2016), Paradise Papers (2017) and Pandora Papers (2021).
Can two people with the same name be treated as one person?
Not from the name alone. The leaks were not deduplicated against each other, so a match may be a different person with the same name.
How do I install offshore-leaks?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is offshore-leaks free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is offshore-leaks safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to offshore-leaks?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
