s3dlio: Instructions file for GitHub Copilot

.github/copilot-instructions.md

s3dlio copilot-instructions.md is an instructions file for GitHub Copilot from russfellows/s3dlio. It costs 5,165 tokens per session, scanned B, original, Apache-2.0.

A project instruction file for s3dlio, a Rust storage library with Python bindings that copies data between S3-compatible services, Azure, local files, and direct storage. It describes the architecture, performance targets, and a rule to investigate without changing code unless explicitly asked.

In plain words
What is it for?
Use it when investigating or changing the Rust library, its Python bindings, storage backends, or high-throughput data transfers.
Why use it?
It gives a coding agent the project's storage model and boundaries, reducing the risk of making unrequested changes or misunderstanding backend choices.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is russfellows/s3dlio's own configuration. It tells GitHub Copilot how to work on s3dlio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything s3dlio configures β†’

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/eval/Documents/Code/s3dlio.

Reuse

Borrowing it

Nothing to install: this file belongs to russfellows/s3dlio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/russfellows/s3dlio/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/russfellows/s3dlio

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for s3dlio copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/russfellows/s3dlio/copilot-instructions/github.svg)](https://agentmods.dev/instructions/russfellows/s3dlio/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/russfellows/s3dlio/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/russfellows/s3dlio/copilot-instructions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80Γ—15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80Γ—15 button for s3dlio copilot-instructions.md

Your own site Β· 80Γ—15
<a href="https://agentmods.dev/instructions/russfellows/s3dlio/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/russfellows/s3dlio/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,165 This file is loaded in full into every session.
When invoked 5,165 The same file β€” it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file β€” not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.05165 $0.05165
Opus 5.5 $0.02066 $0.02066
Sonnet 5.5 $0.01033 $0.01033
Haiku 4.5 $0.00517 $0.00517

Measured 11d ago against content hash b361f655b33f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

s3dlio copilot-instructions.md scanned grade B with 1 finding against 26 rules in 11 categories β€” prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency β€” measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt update && sudo apt install -y libhdf5-dev
.github/copilot-instructions.md Β· 509 lines

How it starts

The opening of the file, as written. The whole thing β€” 509 lines β€” stays where its author put it; the contents beside it link to each section on GitHub.

s3dlio AI Coding Agent Instructions


🚨 Prime Directive

Prime Directive: If told to investigate something, I will ONLY investigate, and then report and possibly document my findings. I will NEVER assume to proceed to making ANY code changes, unless SPECIFICALLY asked to do so.

Secondary Directive: Whenever given a task, first check that I am not violating my Prime Directive before proceeding.


Project Overview

s3dlio is a high-performance, multi-protocol storage library built in Rust with Python bindings, designed for AI/ML workloads. It provides universal copy operations across S3, Azure, local file systems, and DirectIO with near line-speed performance.

Current Version: v0.9.5 (October 2025)

Performance Targets

  • Read (GET): Minimum 5 GB/s (50 Gb/s) sustained, target higher
  • Write (PUT): Minimum 2.5 GB/s (25 Gb/s) sustained, target higher
  • Infrastructure: Tested against Vast storage systems with bonded 100 Gb ports
  • S3 Compatibility: MinIO, Vast, AWS S3, and other S3-compatible storage systems

Core Architecture

Dual-Backend System

The project uses mutually exclusive backend selection at compile-time:

  • native-backends feature: AWS SDK + Azure SDK (DEFAULT - recommended for production)
  • arrow-backend feature: Apache Arrow object_store implementation (experimental, optional)
# Default build (uses native-backends)
cargo build --release

# Explicit native-backends (RECOMMENDED)
cargo build --no-default-features --features native-backends

# Experimental arrow backend (NOT RECOMMENDED for production)
cargo build --no-default-features --features arrow-backend

Critical: These features are mutually exclusive by design (compile_error! in src/lib.rs).

Backend Status:

  • native-backends: Default, proven performance (5+ GB/s reads, 2.5+ GB/s writes), production-ready
  • arrow-backend: Experimental only, no proven performance benefit, kept for comparison testing

Build Quality Standards

Read the full file on GitHub Β· 509 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen Β· 509 lines Β· 5,165 tokens per session scan B b361f655b33f

Subscribe to this mod's changes

s3dlio copilot-instructions.md is an instructions file published in the GitHub repository russfellows/s3dlio (10 stars, last pushed 6d ago), licensed Apache-2.0. It adds 5,165 tokens to every session, about $0.0207 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.

Related

s3dlio copilot-instructions.md compared with instructions from other repositories

s3dlio copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
s3dlio copilot-instructions.mdrussfellows/s3dlioInstructions file106d agoApache-2.0B5,165GitHub Copilot
graftcode graftcode-python.instructions.mdgrft-dev/graftcodeInstructions file9671mo agononeA4,639GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot