build-ebpf
Skill3.6k starsChanged 8 months agoMITView on GitHub
Build the eBPF for Windows repository — entire solution or specific components. Use this skill when asked to build, compile, rebuild, restore, or clean the project or any of its components (drivers, libraries, tools, tests, etc.).
Trending
Quiet since July.about the whole repository
Who's talking about microsoft/ebpf-for-windows
- A Hacker News story“eBPF on Windows”Hacker News · May 10, 2021 · 294 points
- sshuttle/sshuttle“Windows support 🤞”GitHub · Aug 31, 2022 · 6 reactions
- @alilleybrinker.com“Apparently there’s eBPF for Windows now github.com/microsoft/eb...”Bluesky · Jan 9, 2025 · 3 likes
- A Hacker News story“eBPF Runs on Top of Windows”Hacker News · Jul 24, 2024 · 3 points
- @breakawaybilly.bsky.social“They are working on it github.com/microsoft/eb...”Bluesky · Jun 30, 2025 · 2 likes
The biggest 5 of 42 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 42
Talked about on GitHub, Bluesky and Hacker News (42 times).
On GitHub · 32
- Aug 31, 2022Windows support 🤞 — sshuttle/sshuttle6 reactions · 10 comments
- Oct 13, 2023Upload consistently times out after hitting HTTP 503 several times — actions/upload-artifact2 reactions · 2 comments
- May 19, 2022Remove Existing Program/Rule Engine in lieu of eBPF — microsoft/xdp-for-windows2 reactions · 2 comments
- Nov 10, 2025Would implementing the fix done for the following issue to the UDFS driver fix its UNEXPECTED_KERNEL_MODE_TRAP BSODs? — Zero3K/reactos1 reaction
- Oct 14, 2025windows: fix CI issues — cilium/ebpf1 reaction
27 more on GitHub
- Jul 17, 2025pipeline failures from Github runner update to LLVM 20.1.7 — microsoft/ntosebpfext1 reaction
- Nov 19, 2024Regression due to Large output redirect refactor — catchorg/Catch21 reaction · 5 comments
- Jul 29, 2024XDP must define its eBPF structs and helpers itself — microsoft/xdp-for-windows1 reaction · 1 comment
- May 23, 2024Consume eBPF program flags feature and match Linux behavior for discontiguous frames — microsoft/xdp-for-windows1 reaction · 5 comments
- Jul 20, 2026Add Renovate configuration for dependency updates — microsoft/ebpf-extension-common0 reactions
- May 27, 2026[Enhancement] dae support Running on Windows — daeuniverse/dae0 reactions · 1 comment
- May 3, 2026New package: Microsoft.eBPFforWindows version 1.1.0 — microsoft/winget-pkgs0 reactions · 3 comments
- Apr 21, 2026Add bpf_redirect_map for AF_XDP sockets — microsoft/xdp-for-windows0 reactions
- Jan 6, 2026Add AF_XDP bpf_redirect_map support — microsoft/xdp-for-windows0 reactions · 1 comment
- Dec 15, 2025Extensions require vc runtime — microsoft/ntosebpfext0 reactions · 1 comment
- Nov 10, 2025Fix UDFS overflow queue list corruption causing BSOD 0x7F — Zero3K/reactos0 reactions · 2 comments
- Nov 4, 2025[Enhancement] Support Windows platform — daeuniverse/dae0 reactions · 3 comments
- Jun 2, 2025windows: support ringbuf / perf maps — cilium/ebpf0 reactions · 4 comments
- Apr 7, 2025Bump github.com/cilium/ebpf from 0.16.0 to 0.18.0 — ganeshkumarsv/datadog-agent0 reactions · 1 comment
- Apr 3, 2025Bump github.com/cilium/ebpf from 0.17.1 to 0.18.0 — balajiv113/trackport0 reactions
- Jan 31, 2025Windows support — tjjh89017/stunmesh-go0 reactions
- Mar 23, 2024[Enhancement Request] Support for Windows — elastic/ebpf0 reactions · 3 comments
- Jun 12, 2023Skip tests for doc-only changes — openedx-unsupported/devstack0 reactions · 1 comment
- Mar 23, 2023Windows powershell command logging — gravitational/teleport0 reactions
- Feb 28, 2023Consume fix for eBPF native driver unload race condition — microsoft/xdp-for-windows0 reactions
- Feb 28, 2023Consume const-correct eBPF definitions — microsoft/xdp-for-windows0 reactions · 1 comment
- Jun 10, 2022ELF file with symbol table containing incorrect section entry size causes llvm-objdump to crash — llvm/llvm-project0 reactions · 5 comments
- Apr 4, 2022EverParse generated code should compile /W4 /WX clean — project-everest/everparse0 reactions · 2 comments
- Apr 3, 2022possibly find cross-platform alternatives to bpftrace — lun-4/awtfdb0 reactions
- Feb 16, 2022Security vulnerability reporting process — l3af-project/governance0 reactions · 4 comments
- Jan 21, 2022Port ebpf_exporter to Windows — cloudflare/ebpf_exporter0 reactions · 1 comment
- Jun 1, 2021goebpf for windows — dropbox/goebpf0 reactions · 1 comment
On Bluesky · 7
- Jan 9, 2025Apparently there’s eBPF for Windows now github.com/microsoft/eb... — @alilleybrinker.com3 likes and reposts
- Jun 30, 2025They are working on it github.com/microsoft/eb... — @breakawaybilly.bsky.social2 likes and reposts · 1 reply
- Feb 25, 2025#eBPF is a great technology extending an OS kernel, for use cases such as DoS protection, observability, and beyond, this space should be… — @cloudnativeboy.bsky.social2 likes and reposts
- Feb 14, 2025Or maybe not? github.com/microsoft/eb... — @notwes.bsky.social2 likes and reposts
- Nov 27, 2024Fun fact, ebpf also exists (albeit in a user-mode vm) on Windows! github.com/microsoft/eb... — @adamkadaban.com2 likes and reposts · 1 reply
2 more on Bluesky
- Nov 16, 2024I just discovered that there's an eBPF implementation for Windows. github.com/microsoft/eb... — @bwoodfin.bsky.social2 likes and reposts
- Sep 17, 2025non mais ça arrivera ptet un jour github.com/microsoft/eb... — @erwanaliasr1.bsky.social1 likes and repost · 1 reply
On Hacker News · 3
- May 10, 2021eBPF on Windows294 points · 165 comments
- Jul 24, 2024eBPF Runs on Top of Windows3 points
- Apr 6, 2023eBPF for Windows2 points
In this repository7 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- adversarial-branch-reviewSkill
- build-prevailSkill
- debug-crash-dumpSkill
- pr-triage-reportSkill
- verify-bpfSkill
- verify-prevailSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 7 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
After making code changes that need to be compiled
- Very specific: line 25
Must run from the solution root directory (ebpf-for-windows.sln location)
- Distinctive: line 31
Ask the user (or infer from context) what they want to build.
- Very specific: line 44
If the user doesn't specify, use Debug and x64.
- Very specific: line 49
Always use the solution file: msbuild ebpf-for-windows.sln — never build .vcxproj files directly
- Distinctive: line 50
Always run from the solution root directory
- Very specific: line 51
Use /m for parallel builds
- Very specific: line 86
If the build succeeds, report success with the output path (e.g., x64\Debug\)
- Distinctive: line 87
If the build fails, show the first error(s) and suggest fixes
- Very specific: line 95
Use this map to translate component names to MSBuild /t: targets.
- Distinctive: line 228
Use these when the user describes what area they're working on:
- Very specific: line 243
If bpf2c output changes and tests\bpf2c_tests expected files must be updated:
- Distinctive: line 254
When building specific components, be aware of the dependency order:
- Distinctive: line 287
After cloning, changing submodule pointers, or resetting submodules, run the initialization script before building:
- Very specific: line 302
IMPORTANT: If cmake-generated project files are missing (e.g., external/ebpf-verifier/build/prevail.vcxproj), MSBuild will error with …
- Very specific: line 308
After resetting submodules (git submodule update --init --recursive), re-run initialize_ebpf_repo.ps1
- Very specific: line 312
When manually compiling BPF C programs with clang, use the full set of include paths from the tests\sample\sample.vcxproj CustomBuild rules.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Build eBPF for Windows
Build the eBPF for Windows solution or individual components using MSBuild.
When to Use
- User asks to build, compile, rebuild, or clean the project
- User asks to build a specific component (driver, library, tool, test, etc.)
- User asks to restore NuGet packages
- User asks to do a full or partial build with a specific configuration
- After making code changes that need to be compiled
Environment Requirements
- Visual Studio Developer PowerShell (required — regular PowerShell lacks build environment variables)
- MSBuild from VS Build Tools
- Must run from the solution root directory (
ebpf-for-windows.slnlocation)
Build Instructions
Step 1: Determine What to Build
Ask the user (or infer from context) what they want to build. Options:
- Full solution — build everything
- Specific component(s) — use the target map below to select
/t:targets - Restore only — just restore NuGet packages
Step 2: Determine Configuration and Platform
| Parameter | Options | Default |
| Configuration | Debug, Release, NativeOnlyDebug, NativeOnlyRelease, FuzzerDebug | Debug |
| Platform | x64, ARM64 | x64 |
If the user doesn't specify, use Debug and x64.
Step 3: Construct and Run the MSBuild Command
CRITICAL RULES:
- Always use the solution file:
msbuild ebpf-for-windows.sln— never build.vcxprojfiles directly - Always run from the solution root directory
- Use
/mfor parallel builds - For first-time or fresh builds, add
-Restoreto restore NuGet packages - For clean rebuilds, use
/t:"target:clean,target"syntax
Full Solution Build
# Standard build
msbuild ebpf-for-windows.sln /m /p:Configuration=Debug /p:Platform=x64
# With NuGet restore (first-time or after package changes)
msbuild ebpf-for-windows.sln /m /p:Configuration=Debug /p:Platform=x64 -Restore
# Clean the solution
msbuild ebpf-for-windows.sln /m /p:Configuration=Debug /p:Platform=x64 /t:clean
# With static analysis
msbuild ebpf-for-windows.sln /m /p:Configuration=Release /p:Platform=x64 /p:Analysis=TrueTargeted Component Build
# Single target
msbuild ebpf-for-windows.sln /m /p:Configuration=Debug /p:Platform=x64 /t:drivers\EbpfCore
# Multiple targets
msbuild ebpf-for-windows.sln /m /p:Configuration=Debug /p:Platform=x64 /t:"drivers\EbpfCore,drivers\netebpfext,tests\unit_tests"
# Clean + rebuild a target (use semicolon or comma separator)
msbuild ebpf-for-windows.sln /m /p:Configuration=Debug /p:Platform=x64 /t:"tools\bpf2c:Clean;tools\bpf2c"Step 4: Analyze Results
- If the build succeeds, report success with the output path (e.g.,
x64\Debug\) - If the build fails, show the first error(s) and suggest fixes
- Common issues:
- Missing NuGet packages → suggest adding
-Restore - Missing environment → suggest using Visual Studio Developer PowerShell
- Header/linker errors → suggest checking dependencies and rebuilding prerequisite targets
- Missing NuGet packages → suggest adding
MSBuild Target Map
Use this map to translate component names to MSBuild /t: targets.
Solution targets use solution folder paths, not filesystem paths.
Drivers (Kernel Components)
| Component | Target | Source |
| EbpfCore (kernel execution context) | drivers\EbpfCore | ebpfcore/ |
| EbpfCore_Usersim (usersim variant) | drivers\EbpfCore_Usersim | ebpfcore/usersim/ |
| netebpfext (WFP network hooks) | drivers\netebpfext | netebpfext/sys/ |
| sample_ebpf_ext (sample extension) | undocked\drivers\sample_ebpf_ext | undocked/tests/sample/ext/drv/ |
DLLs and Services (User-Mode)
| Component | Target | Source |
| EbpfApi (libbpf-compatible API) | dlls\EbpfApi | ebpfapi/ |
| eBPFSvc (JIT/verification service) | service\ebpfsvc | ebpfsvc/ |
| ebpfnetsh (netsh plugin) | dlls\ebpfnetsh | tools/netsh/ |
Libraries
| Component | Target | Source |
| API library | libs\user\api | libs/api/ |
| Service library | libs\user\service | libs/service/ |
| Execution context (kernel) | libs\kernel\execution_context_kernel | libs/execution_context/kernel/ |
| Execution context (user) | libs\user\execution_context_user | libs/execution_context/user/ |
| uBPF (kernel) | libs\kernel\ubpf_kernel | libs/ubpf/kernel/ |
| uBPF (user) | libs\user\ubpf_user | libs/ubpf/user/ |
| Runtime (kernel) | libs\kernel\runtime_kernel | libs/runtime/kernel/ |
| Runtime (user) | libs\user\runtime_user | libs/runtime/user/ |
| API common | libs\user\api_common | libs/api_common/ |
| Shared (kernel) | libs\kernel\shared_kernel | libs/shared/kernel/ |
| Shared (user) | libs\user\shared_user | libs/shared/user/ |
| PE parse | libs\user\pe-parse | libs/pe-parse/ |
| ELF spec | libs\user\elf_spec | libs/elf_spec/ |
| Store helper | libs\user\ebpf_store_helper | libs/store_helper/user/ |
| Netsh static | libs\user\netsh_static | libs/ebpfnetsh/ |
| PREVAIL verifier | libs\user\prevail | external/ebpf-verifier/build/ |
| libbtf | libs\user\libbtf | external/ebpf-verifier/build/external/libbtf/ |
| netebpfext (user) | libs\user\netebpfext_user | netebpfext/user/ |
| cxplat (kernel) | libs\kernel\cxplat_winkernel | external/usersim/cxplat/ |
| cxplat (user) | libs\user\cxplat_winuser | external/usersim/cxplat/ |
| usersim | libs\user\usersim | external/usersim/src/ |
| usersim_dll_skeleton | libs\user\usersim_dll_skeleton | external/usersim/usersim_dll_skeleton/ |
Tools
| Component | Target | Source |
| bpf2c (native code generator) | tools\bpf2c | tools/bpf2c/ |
| bpftool | tools\bpftool | tools/bpftool/ |
| export_program_info | tools\export_program_info | tools/export_program_info/ |
| dnsflood | tools\dnsflood | tools/dnsflood/ |
| port_quota | tools\port_quota | tools/port_quota/ |
| port_leak | tools\port_leak | tools/port_leak/ |
| Setup build | tools\setup_build | scripts/setup_build/ |
| OneBranch | tools\onebranch | tools/onebranch/ |
| export_program_info_sample | undocked\tools\export_program_info_sample | undocked/tools/export_program_info_sample/ |
Tests
| Component | Target | Source |
| API tests | tests\api_test | tests/api_test/ |
| Unit tests | tests\unit_tests | tests/unit/ |
| bpf2c tests | tests\bpf2c_tests | tests/bpf2c_tests/ |
| Performance tests | tests\performance | tests/performance/ |
| Socket tests | tests\socket_tests | tests/socket/ |
| Cilium tests | tests\cilium_tests | tests/cilium/ |
| Connect redirect tests | tests\connect_redirect_tests | tests/connect_redirect/ |
| Common tests | tests\common_tests | tests/libs/common/ |
| netebpfext unit tests | tests\netebpfext_unit | tests/netebpfext_unit/ |
| Sample programs | tests\sample | tests/sample/ |
| bpftool tests | installer\bpftool_tests | tests/bpftool_tests/ |
| bpf2c plugin | tests\bpf2c_plugin | tests/bpf2c_plugin/ |
| Test utilities | tests\test_util | tests/libs/util/ |
| Sample ext app | tests\sample_ext_app | tests/sample/ext/app/ |
| TCP/UDP listener | tests\tcp_udp_listener | tests/tcp_udp_listener/ |
| export_program_info test | tests\export_program_info_test | tests/export_program_info_test/ |
| Restart test controller | tests\ebpf_restart_test_controller | tests/stress/restart_test_controller/ |
| Restart test helper | tests\ebpf_restart_test_helper | tests/stress/restart_test_helper/ |
Stress Tests and Fuzzers
Stress tests build in Debug/Release. Fuzzers require FuzzerDebug configuration.
| Component | Target | Config | Source |
| Stress tests (user-mode) | tests\ebpf_stress_tests_um | Debug | tests/stress/um/ |
| Stress tests (kernel-mode) | tests\ebpf_stress_tests_km | Debug | tests/stress/km/ |
| Execution context fuzzer | tests\libfuzzer\execution_context_fuzzer | FuzzerDebug | tests/libfuzzer/execution_context/ |
| bpf2c fuzzer | tests\libfuzzer\bpf2c_fuzzer | FuzzerDebug | tests/libfuzzer/bpf2c_fuzzer/ |
| Verifier fuzzer | tests\libfuzzer\verifier_fuzzer | FuzzerDebug | tests/libfuzzer/verifier_fuzzer/ |
| Core helper fuzzer | tests\libfuzzer\core_helper_fuzzer | FuzzerDebug | tests/libfuzzer/core_helper_fuzzer/ |
| netebpfext fuzzer | tests\libfuzzer\netebpfext_fuzzer | FuzzerDebug | tests/libfuzzer/netebpfext_fuzzer/ |
External Dependencies
| Component | Target | Source |
| Catch2 | tests\Catch2 | external/Catch2/ |
| Catch2WithMain | tests\Catch2WithMain | external/Catch2/ |
Note: The PREVAIL verifier for normal builds is
libs\user\prevail. Theubpf_fuzzer\*targets (ebpfverifier, ubpf, libbtf, win-c, ubpf_fuzzer, ubpf_fuzzer_post_build) are only built inFuzzerDebugconfiguration and will fail with MSB4057 errors in Debug/Release.
ubpf_fuzzer Targets (FuzzerDebug Only)
These targets only build in FuzzerDebug configuration:
| Component | Target | Source |
| ebpfverifier (fuzzer copy) | ubpf_fuzzer\ebpfverifier | external/ubpf/build_fuzzer/external/ebpf-verifier/ |
| ubpf (fuzzer copy) | ubpf_fuzzer\ubpf | external/ubpf/build_fuzzer/vm/ |
| ubpf_fuzzer | ubpf_fuzzer\ubpf_fuzzer | external/ubpf/build_fuzzer/libfuzzer/ |
| libbtf (fuzzer copy) | ubpf_fuzzer\libbtf | external/ubpf/build_fuzzer/.../libbtf/ |
| win-c (fuzzer copy) | ubpf_fuzzer\win-c | external/ubpf/build_fuzzer/.../win-c/ |
| ubpf_fuzzer_post_build | ubpf_fuzzer\ubpf_fuzzer_post_build | scripts/ubpf_fuzzer_post_build/ |
Build Utilities and Installers
| Component | Target | Config Notes | Source |
| RPC interface | idl\rpc_interface | All configs | rpc_interface/ |
| NuGet package | tools\nuget | All configs | tools/nuget/ |
| Redist package | tools\redist-package | NativeOnly/Release only (not Debug) | tools/redist-package/ |
| Installer (WiX) | installer\ebpf-for-windows | All configs | installer/ebpf-for-windows/ |
Common Build Patterns
Use these when the user describes what area they're working on:
| Working On | Targets to Build |
| API changes | libs\user\api,dlls\EbpfApi,tests\api_test |
| bpf2c / native code generation | tools\bpf2c,tests\bpf2c_tests,tests\sample |
| Kernel driver changes | drivers\EbpfCore,drivers\netebpfext,tests\unit_tests |
| Service changes | libs\user\service,service\ebpfsvc,tests\ebpf_stress_tests_um |
| Execution context changes | libs\kernel\execution_context_kernel,libs\user\execution_context_user,tests\api_test |
| Network extension changes | drivers\netebpfext,tests\netebpfext_unit |
| Verifier changes | libs\user\prevail,tests\unit_tests |
| Shared library changes | Rebuild all dependents — prefer full solution build |
bpf2c Expected Output Regeneration
If bpf2c output changes and tests\bpf2c_tests expected files must be updated:
- Build
x64\Debug. - Run:
.\scripts\generate_expected_bpf2c_output.ps1 x64\DebugDependency Chain
When building specific components, be aware of the dependency order:
tools\setup_build(build utilities — runs first)libs\kernel\shared_kernel/libs\user\shared_user(fundamental utilities)libs\kernel\runtime_kernel/libs\user\runtime_user(platform abstractions)libs\kernel\execution_context_kernel/libs\user\execution_context_user(core eBPF execution)drivers\EbpfCore,drivers\netebpfext(kernel drivers)libs\user\api,dlls\EbpfApi(user-mode APIs)- Tests and tools
MSBuild handles dependency resolution within the solution, so you typically only need to specify the top-level target(s) you want built.
Output Locations
Build artifacts are placed under:
x64\Debug\— Debug x64 buildsx64\Release\— Release x64 buildsx64\NativeOnlyDebug\— NativeOnly Debug buildsx64\NativeOnlyRelease\— NativeOnly Release buildsARM64\Debug\— ARM64 Debug builds (if applicable)
Quieting Build Output
For targeted builds where you only need to see errors, use /v:q /nologo:
msbuild ebpf-for-windows.sln /m /p:Configuration=Debug /p:Platform=x64 /t:"tools\bpf2c" /v:q /nologoPipe through | Select-Object -Last N to see just the tail when checking for success/failure.
Repository Initialization
After cloning, changing submodule pointers, or resetting submodules, run the initialization script before building:
# From solution root — initializes submodules, generates cmake projects, restores NuGet
.\scripts\initialize_ebpf_repo.ps1
# Or with ARM64
.\scripts\initialize_ebpf_repo.ps1 -Architecture ARM64This script:
- Runs
git submodule update --init --recursive - Generates cmake projects for ebpf-verifier, Catch2, and ubpf in their respective
build/dirs - Restores NuGet packages for the solution
IMPORTANT: If cmake-generated project files are missing (e.g., external/ebpf-verifier/build/prevail.vcxproj), MSBuild will error with MSB3202. Run initialize_ebpf_repo.ps1 to regenerate them.
Submodule Gotchas
msbuild /t:cleanwill fail if cmake-generated projects don't exist yet — runinitialize_ebpf_repo.ps1firstgit stashin the parent repo does NOT affect submodule working trees — stash separately in each submodule if needed- After resetting submodules (
git submodule update --init --recursive), re-runinitialize_ebpf_repo.ps1
BPF Program Compilation (clang → .o)
When manually compiling BPF C programs with clang, use the full set of include paths
from the tests\sample\sample.vcxproj CustomBuild rules.
Locate clang.exe — use the first existing path (highest priority first):
packages\llvm.tools\clang.exe, "$env:ProgramFiles\LLVM\bin\clang.exe",
"$(& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath)\VC\Tools\Llvm\bin\clang.exe"
# Standard sample programs (tests\sample\*.c)
& '<clang-path>' -g -target bpf -O2 -Werror `
-Iinclude -Iexternal\bpftool `
-Itests\xdp -Itests\socket -Itests\sample\ext\inc -Itests\include `
-c tests\sample\<name>.c -o x64\Debug\<name>.o
# Undocked sample programs (tests\sample\undocked\*.c) — add extra includes
& '<clang-path>' -g -target bpf -O2 -Werror `
-Iinclude -Iexternal\bpftool `
-Itests\xdp -Itests\socket -Itests\sample\ext\inc -Itests\include `
-Itests\sample -Iundocked\tests\sample\ext\inc `
-c tests\sample\undocked\<name>.c -o x64\Debug\<name>.oCommon mistake: Using only -Iinclude will fail for programs that include
socket_tests_common.h, xdp_common.h, or sample_ext_helpers.h.
Does 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.

