Datasets:
The dataset viewer is not available for this subset.
Exception: HfHubHTTPError
Message: (Request ID: Root=1-6a672bb1-2619732f2f0020050721de5e;82115bfa-3c8c-4d7a-8b2a-33b8a4649f3b)
429 Too Many Requests: you have reached your 'api' rate limit.
Retry after 67 seconds (0/500 requests remaining in current 300s window).
Url: https://huggingface.co/api/datasets/Andwwy/rules/revision/9bf0a3e39010a6eae485a8ca5510d1c9d582bf90.
We had to rate limit your IP (100.60.123.83). To continue using our service, create a HF account or login to your existing account, and make sure you pass a HF_TOKEN if you're using the API.
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 71, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
~~~~~~~~~~~~~~~~~~~~~~~^
path=dataset,
^^^^^^^^^^^^^
config_name=config,
^^^^^^^^^^^^^^^^^^^
token=hf_token,
^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
path,
...<6 lines>...
**config_kwargs,
)
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 268, in get_dataset_config_info
builder = load_dataset_builder(
path,
...<6 lines>...
**config_kwargs,
)
File "/src/services/worker/src/worker/utils.py", line 390, in safe_load_dataset_builder
dataset_module = dataset_module_factory(
repo_dir,
revision=revision,
download_config=download_config,
)
File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1217, in dataset_module_factory
raise e1 from None
File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1192, in dataset_module_factory
).get_module()
~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 608, in get_module
standalone_yaml_path = cached_path(
hf_dataset_url(self.name, config.REPOYAML_FILENAME, revision=self.commit_hash),
download_config=download_config,
)
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 180, in cached_path
).resolve_path(url_or_filename)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 339, in resolve_path
repo_and_revision_exist, err = self._repo_and_revision_exist(parsed.type, parsed.id, revision)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 252, in _repo_and_revision_exist
self._api.repo_info(
~~~~~~~~~~~~~~~~~~~^
repo_id, revision=revision, repo_type=repo_type, timeout=constants.HF_HUB_ETAG_TIMEOUT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_api.py", line 3598, in repo_info
return method(
repo_id,
...<4 lines>...
files_metadata=files_metadata,
)
File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_api.py", line 3360, in dataset_info
hf_raise_for_status(r)
~~~~~~~~~~~~~~~~~~~^^^
File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_http.py", line 868, in hf_raise_for_status
raise _format(HfHubHTTPError, message, response) from e
huggingface_hub.errors.HfHubHTTPError: (Request ID: Root=1-6a672bb1-2619732f2f0020050721de5e;82115bfa-3c8c-4d7a-8b2a-33b8a4649f3b)
429 Too Many Requests: you have reached your 'api' rate limit.
Retry after 67 seconds (0/500 requests remaining in current 300s window).
Url: https://huggingface.co/api/datasets/Andwwy/rules/revision/9bf0a3e39010a6eae485a8ca5510d1c9d582bf90.
We had to rate limit your IP (100.60.123.83). To continue using our service, create a HF account or login to your existing account, and make sure you pass a HF_TOKEN if you're using the API.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
rules
Natural-language LLM-agent rule files (AGENTS.md, CLAUDE.md, SKILL.md, .cursor/rules/*.mdc,
and friends) crawled from public GitHub repositories, with the content stored inline.
2,204,470 files from 45,014 repositories. Each row is one rule file, pinned to the commit SHA
it was read at, so link always resolves to the exact bytes in file.
Columns
| column | type | description |
|---|---|---|
file |
string | full text of the rule file |
content_sha256 |
string | SHA-256 of file |
path |
string | path within the source repository |
link |
string | permalink to the file at the pinned commit |
repo |
string | owner/name of the source repository |
stars |
int64 | stargazer count of the source repository at crawl time |
crawled_time |
timestamp | when the file was fetched |
Composition
No single filename dominates — AGENTS.md is under 3% of rows. Skill bundles contribute the most
files, while the named manifests reach the most repositories.
| family | rows | share | repos |
|---|---|---|---|
SKILL.md (Claude skills) |
1,088,809 | 49.4% | 15,835 |
supporting .md inside .claude/, .cursor/, … |
655,713 | 29.7% | 19,415 |
agents/*.md (subagent definitions) |
139,997 | 6.4% | 8,592 |
.mdc (Cursor rules) |
77,911 | 3.5% | 8,022 |
AGENTS.md |
60,466 | 2.7% | 15,924 |
CLAUDE.md |
52,717 | 2.4% | 18,869 |
.prompt.md |
48,898 | 2.2% | 4,738 |
.instructions.md |
34,364 | 1.6% | 4,951 |
.cursorrules |
13,234 | 0.6% | 5,278 |
GEMINI.md |
10,754 | 0.5% | 3,946 |
copilot-instructions.md |
9,476 | 0.4% | 8,618 |
.chatmode.md (Copilot) |
7,699 | 0.3% | 1,801 |
.windsurfrules |
4,053 | 0.2% | 3,389 |
.goosehints |
379 | 0.02% | 323 |
Usage
from datasets import load_dataset
ds = load_dataset("Andwwy/rules", split="train")
Or query the parquet directly, without downloading, from DuckDB:
INSTALL httpfs; LOAD httpfs;
-- ALL rule files, most-starred first
SELECT repo, path, stars
FROM read_parquet('hf://datasets/Andwwy/rules/data/*.parquet')
ORDER BY stars DESC
LIMIT 20;
See what the corpus is made of:
SELECT CASE
WHEN path ILIKE '%SKILL.md' THEN 'SKILL.md'
WHEN path ILIKE '%.mdc' THEN 'cursor .mdc'
WHEN path ILIKE '%AGENTS.md' THEN 'AGENTS.md'
WHEN path ILIKE '%CLAUDE.md' THEN 'CLAUDE.md'
WHEN path ILIKE '%.prompt.md' THEN '.prompt.md'
WHEN path ILIKE '%.instructions.md' THEN '.instructions.md'
WHEN path ILIKE '%.chatmode.md' THEN '.chatmode.md'
WHEN path ILIKE '%.cursorrules%' THEN '.cursorrules'
WHEN path ILIKE '%.windsurfrules%' THEN '.windsurfrules'
WHEN path ILIKE '%.goosehints%' THEN '.goosehints'
WHEN path ILIKE '%GEMINI.md' THEN 'GEMINI.md'
WHEN path ILIKE '%copilot-instructions.md' THEN 'copilot-instructions.md'
WHEN path ILIKE '%/agents/%' THEN 'agents/*.md'
ELSE 'other'
END AS family,
count(*) AS files,
count(DISTINCT repo) AS repos
FROM read_parquet('hf://datasets/Andwwy/rules/data/*.parquet')
GROUP BY family
ORDER BY files DESC;
Narrow to one ecosystem — everything Cursor reads, say:
SELECT repo, path, stars, file
FROM read_parquet('hf://datasets/Andwwy/rules/data/*.parquet')
WHERE path ILIKE '%.mdc' OR path ILIKE '%.cursorrules%'
ORDER BY stars DESC;
Or pull the whole rule set for a single repository:
SELECT path, length(file) AS bytes, link
FROM read_parquet('hf://datasets/Andwwy/rules/data/*.parquet')
WHERE repo = 'anthropics/claude-code'
ORDER BY path;
Collection
Repositories are discovered via the GitHub Code Search API, pinned to a commit via GraphQL,
enumerated with the Git Trees API, and the file bodies are fetched from raw.githubusercontent.com
at that commit. Code search selects repositories only — it caps at 1,000 results per query and
surfaces only a fraction of a repo's matching files — so the file list always comes from the Trees
API, which returns an entire repository in one request.
Deduplicated on (repo, path, commit). Identical text appearing in different repositories is kept
as separate rows: 2,200,687 distinct files span 1,088,448 distinct contents, and that redundancy is
itself signal about what gets copied. Symbolic links, and files whose entire body is a pointer to
another file (e.g. @AGENTS.md), are dropped.
Licensing
Each file remains under the license of the repository it came from; link and repo identify
the source. No single license applies to the collection as a whole.
- Downloads last month
- 339