Write Test
389ds/389-ds-base
Add or extend a pytest integration test for 389 Directory Server under dirsrvtests/.
Use Sybil for testing code examples in documentation and docstrings.
$ npx skills add anam-org/metaxy --skill sybil -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install anam-org/metaxy sybil --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/anam-org/metaxy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/sybil .claude/skills/sybil && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sybil" agent skill from https://github.com/anam-org/metaxy/tree/main/.claude/skills/sybil into .claude/skills/sybil/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sybil", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/anam-org/metaxy/tree/main/.claude/skills/sybilType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add anam-org/metaxy --skill sybil -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install anam-org/metaxy sybil --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anam-org/metaxy.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/sybil .agents/skills/sybil && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sybil" agent skill from https://github.com/anam-org/metaxy/tree/main/.claude/skills/sybil into .agents/skills/sybil/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sybil", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add anam-org/metaxy --skill sybil -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install anam-org/metaxy sybil --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anam-org/metaxy.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/sybil .cursor/skills/sybil && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sybil" agent skill from https://github.com/anam-org/metaxy/tree/main/.claude/skills/sybil into .cursor/skills/sybil/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sybil", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/anam-org/metaxy.git --path .claude/skills/sybil--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add anam-org/metaxy --skill sybil -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install anam-org/metaxy sybil --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anam-org/metaxy.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/sybil .gemini/skills/sybil && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sybil" agent skill from https://github.com/anam-org/metaxy/tree/main/.claude/skills/sybil into .gemini/skills/sybil/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sybil", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install anam-org/metaxy sybilInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add anam-org/metaxy --skill sybil -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/anam-org/metaxy.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/sybil .github/skills/sybil && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sybil" agent skill from https://github.com/anam-org/metaxy/tree/main/.claude/skills/sybil into .github/skills/sybil/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sybil", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add anam-org/metaxy --skill sybil -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install anam-org/metaxy sybil --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anam-org/metaxy.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/sybil .opencode/skills/sybil && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sybil" agent skill from https://github.com/anam-org/metaxy/tree/main/.claude/skills/sybil into .opencode/skills/sybil/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sybil", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sybilUse Sybil for testing code examples in documentation and docstrings.
Sybil is an agent skill from anam-org/metaxy. Use Sybil for testing code examples in documentation and docstrings. Covers pytest integration, parsers, skip directives, and namespace management.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Unit testing and Technical documentation. It works with pytest. The repository describes itself as: Pluggable metadata management framework for versioned incremental multimodal data/ML pipelines. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 8337842. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pytestpipFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
sybil.readthedocs.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sybil loads about 1.6k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 211 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from anam-org/metaxy at commit 8337842, republished under its Apache-2.0 licence (© anam-org). 211 words, ~1,553 tokens.
.claude/skills/sybil/SKILL.md (or your agent's skills folder).Sybil validates code examples embedded in documentation and docstrings by parsing and executing them as part of normal test runs.
Official Documentation: https://sybil.readthedocs.io/en/latest/
pip install sybil[pytest]Configure in conftest.py. See pytest integration docs.
from sybil import Sybil
from sybil.parsers.markdown.codeblock import PythonCodeBlockParser
from sybil.parsers.markdown.skip import SkipParser
pytest_collect_file = Sybil(
parsers=[
SkipParser(),
PythonCodeBlockParser(),
],
patterns=["*.md", "**/*.py"],
).pytest()See API reference.
| Parameter | Description |
|---|---|
parsers | Sequence of parser callables |
patterns | File glob patterns to include (e.g., ["*.md", "src/**/*.py"]) |
excludes | File glob patterns to exclude |
setup | Callable receiving namespace dict, called before each document |
teardown | Callable receiving namespace dict, called after each document |
fixtures | List of pytest fixture names to inject into namespace |
document_types | Map file extensions to Document classes |
See API reference.
PythonDocument: Import .py file as module, names available in namespacePythonDocStringDocument: Parse only docstrings from .py filesfrom sybil.document import PythonDocStringDocument
pytest_collect_file = Sybil(
parsers=[...],
patterns=["src/**/*.py"],
document_types={".py": PythonDocStringDocument},
).pytest()import pytest
from sybil import Sybil
@pytest.fixture
def my_fixture():
return {"key": "value"}
pytest_collect_file = Sybil(
parsers=[...],
patterns=["*.md"],
fixtures=["my_fixture"], # Available in document namespace
).pytest()def sybil_setup(namespace):
namespace["helper"] = lambda x: x * 2
def sybil_teardown(namespace):
pass # Cleanup if needed
pytest_collect_file = Sybil(
parsers=[...],
setup=sybil_setup,
teardown=sybil_teardown,
).pytest()Add to pyproject.toml to prevent conflicts:
[tool.pytest.ini_options]
addopts = "-p no:doctest"from sybil.parsers.markdown.codeblock import PythonCodeBlockParser, CodeBlockParser
from sybil.parsers.markdown.skip import SkipParser
from sybil.parsers.markdown.clear import ClearNamespaceParserSee skip directive docs.
SkipParser must come before other parsers to handle skip directives.
<!-- skip: next -->
```python
# This example is skipped
```<!-- skip: next "reason for skipping" -->
# Skipped and reported as skipped test with reason<!-- skip: start -->
# Multiple examples# All skipped<!-- skip: end -->
<!-- skip: next if(condition_var) -->
# Conditionally skipped based on namespace variable## Invisible Code Blocks
Setup code that doesn't render in documentation. See [invisible code blocks docs](https://sybil.readthedocs.io/en/latest/markdown.html#invisible-code-blocks).
```markdown
<!-- invisible-code-block: python
setup_var = "hidden setup"
-->Reset the document namespace for isolation. See clear namespace docs.
<!-- clear-namespace -->See evaluators API.
from sybil.parsers.markdown.codeblock import CodeBlockParser
from sybil.evaluators.python import PythonEvaluator
# Custom evaluator with future imports
evaluator = PythonEvaluator(future_imports=["annotations"])
parser = CodeBlockParser(language="python", evaluator=evaluator)Sybil tests are collected like regular pytest tests. To run only Sybil tests:
# Run tests from specific directory containing documented code
pytest src/mypackage/ -v
# Exclude regular tests, only run documentation examples
pytest docs/ -vTo exclude Sybil tests from regular test runs, use pytest's --ignore flag or configure addopts in pyproject.toml.
"""Sybil configuration for docstring testing."""
from sybil import Sybil
from sybil.document import PythonDocStringDocument
from sybil.evaluators.python import PythonEvaluator
from sybil.parsers.markdown.codeblock import CodeBlockParser
from sybil.parsers.markdown.skip import SkipParser
import mypackage
def sybil_setup(namespace):
"""Pre-populate namespace for all examples."""
namespace["pkg"] = mypackage
def sybil_teardown(namespace):
"""Cleanup after document."""
pass
pytest_collect_file = Sybil(
parsers=[
SkipParser(),
CodeBlockParser(language="python", evaluator=PythonEvaluator()),
CodeBlockParser(language="py", evaluator=PythonEvaluator()),
],
patterns=["src/mypackage/**/*.py"],
document_types={".py": PythonDocStringDocument},
setup=sybil_setup,
teardown=sybil_teardown,
excludes=[
"**/tests/**",
"**/_internal/**",
],
).pytest()© anam-org, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/sybil of anam-org/metaxy.
Open the folder on GitHubat commit 8337842
Sybil next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sybil this skillanam-org/metaxy | 124 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Write Test389ds/389-ds-base | 294 | — | ~1.8k | Automated safety check: Pass | Custom licence | |
| Python Guidelightly-ai/lightly-studio | 896 | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Python Testingmacalbert/envilder | 138 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Leetcode Pywislertt/leetcode-py | 142 | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Adk Verify Snippetsgoogle/adk-python | 22k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 |
389ds/389-ds-base
Add or extend a pytest integration test for 389 Directory Server under dirsrvtests/.
lightly-ai/lightly-studio
Read before writing or reviewing any Python code in this repository.
macalbert/envilder
Mandatory testing conventions including AAA pattern, test naming, assertions, and mocks.
wislertt/leetcode-py
Generates Python LeetCode practice environments and manages a 307-problem catalog with the lcpy CLI.
google/adk-python
Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail…
dimensionalOS/dimos
Rules for writing, fixing and reviewing pytest unit tests that are hermetic: behavior-focused, deterministic, isolated and cheap to run.
anam-org/metaxy
This skill should be used when the user asks to "define a feature", "create a BaseFeature class", "track feature versions", "set up metadata store", "field-level lineage", "FieldSpec", "FeatureDep"…
anam-org/metaxy
This skill should be used when the user asks to "add a tach module", "configure tach layers", "define module boundaries", "set up interfaces", "run tach check", "check module boundaries", "tach…
anam-org/metaxy
Self-reflect on the current session to identify mistakes and propose improvements to .claude configuration (CLAUDE.md, hooks, skills).
anam-org/metaxy
Write YAML front matter for documentation pages with appropriate titles and descriptions for social cards.
anam-org/metaxy
Use Hypothesis for property-based testing to automatically generate comprehensive test cases, find edge cases, and write more robust tests with minimal example shrinking.
anam-org/metaxy
Effectively use Narwhals to write dataframe-agnostic code that works seamlessly across multiple Python dataframe libraries.
Works with
Categories
Use Sybil for testing code examples in documentation and docstrings. Sybil is an agent skill from anam-org/metaxy. Use Sybil for testing code examples in documentation and docstrings.
Sybil fits situations like: tasks that involve Unit testing; tasks that involve Technical documentation.
Run `npx skills add anam-org/metaxy --skill sybil -a claude-code`. Or copy the skill folder (.claude/skills/sybil in anam-org/metaxy) into .claude/skills/sybil in your project. Claude Code loads it when a task matches its description.
Run `npx skills add anam-org/metaxy --skill sybil -a codex`. Or copy the skill folder (.claude/skills/sybil in anam-org/metaxy) into .agents/skills/sybil in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add anam-org/metaxy --skill sybil -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sybil, .gemini/skills/sybil, .github/skills/sybil and .opencode/skills/sybil in your project.
Going by SKILL.md and its folder, Sybil needs the command-line tools its instructions call (pytest and pip). Our summary lists: Python 3.
SKILL.md names 1 domain. In commands or code: sybil.readthedocs.io; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sybil is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Sybil: Write Test (389ds/389-ds-base, 294 stars), Python Guide (lightly-ai/lightly-studio, 896 stars), Python Testing (macalbert/envilder, 138 stars) and Leetcode Py (wislertt/leetcode-py, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
anam-org (a GitHub organization) maintains it in anam-org/metaxy, which has 124 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 30, 2026.
Source: anam-org/metaxy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.