termi: Skill for Cursor

.cursor/skills/add-vfs-provider/SKILL.md

add-vfs-provider is a skill for Cursor from MannanSaood/termi. It costs 55 tokens per session (1,136 once invoked), scanned A, original, MIT.

A worked example for adding a new virtual file-system provider, meaning a component that reads and manages files from a storage location such as an SSH server.

In plain words
What is it for?
Use it when adding or reviewing providers for SSH/SFTP, cloud synchronization, or test-only storage, including a fake provider for tests.
Why use it?
It shows the required interface and registration steps, reducing the chance that a new storage backend works only partly or is not connected to the application.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is MannanSaood/termi's own configuration. It tells Cursor how to work on termi 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 termi configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MannanSaood/termi. 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/MannanSaood/termi/main/.cursor/skills/add-vfs-provider/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/MannanSaood/termi

Made for: Cursor.

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 add-vfs-provider

README.md
[![agentmods](https://agentmods.dev/badge/skills/mannansaood/termi/add-vfs-provider/github.svg)](https://agentmods.dev/skills/mannansaood/termi/add-vfs-provider)
Your own site
<a href="https://agentmods.dev/skills/mannansaood/termi/add-vfs-provider"><img src="https://agentmods.dev/badge/skills/mannansaood/termi/add-vfs-provider/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 add-vfs-provider

Your own site · 80×15
<a href="https://agentmods.dev/skills/mannansaood/termi/add-vfs-provider"><img src="https://agentmods.dev/badge/skills/mannansaood/termi/add-vfs-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,136 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00055 $0.01136
Opus 5 $0.00028 $0.00568
Sonnet 5 $0.00011 $0.00227
Haiku 4.5 $0.00006 $0.00114

Measured 9d ago against content hash 35c6f4c0335a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

add-vfs-provider scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/add-vfs-provider/SKILL.md · 100 lines

How it starts

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

Worked example based on how InternalProvider and the test-only MockSafProvider are structured. Follow this shape for any new storage backend (SSH/SFTP, a future cloud-sync provider, etc.).

1. Implement the FsProvider trait

// rust/src/vfs/ssh_provider.rs (example — doesn't exist yet)
use crate::vfs::provider::{DirEntry, FileMetadata, FsProvider};
use crate::utils::error::{VfsError, VfsResult};
use std::path::Path;

pub struct SshProvider {
    // connection state, session handle, etc.
}

impl FsProvider for SshProvider {
    fn read_file(&self, path: &Path) -> VfsResult<Vec<u8>> { /* SFTP read */ todo!() }
    fn write_file(&self, path: &Path, contents: &[u8]) -> VfsResult<()> { todo!() }
    fn metadata(&self, path: &Path) -> VfsResult<FileMetadata> { todo!() }
    fn list_dir(&self, path: &Path) -> VfsResult<Vec<DirEntry>> { todo!() }
    fn create_dir(&self, path: &Path) -> VfsResult<()> { todo!() }
    fn delete(&self, path: &Path) -> VfsResult<()> { todo!() }
    fn rename(&self, from: &Path, to: &Path) -> VfsResult<()> { todo!() }
    fn exists(&self, path: &Path) -> bool { todo!() }
    fn is_dir(&self, path: &Path) -> bool { todo!() }

    // Only override chmod/symlink if SFTP genuinely supports them for
    // this backend — many SFTP servers DO support chmod (unlike SAF), so
    // this is a case where you'd actually implement it rather than
    // inheriting the "not supported" default:
    fn chmod(&self, path: &Path, mode: u32) -> VfsResult<()> {
        // real SFTP SETSTAT call
        todo!()
    }
    // Don't override symlink/readlink unless the SSH server's filesystem
    // actually supports it — check before assuming.
}

Don't forget #[warn(clippy::unwrap_used)] compliance — no .unwrap() in the real implementation, propagate VfsError via ?.

2. Register it with VfsService, not standalone

let mount = MountPoint::remote("/mnt/home-server", "ssh://user@host", "Home Server");
let provider: Arc<dyn FsProvider> = Arc::new(SshProvider::connect(...)?);
vfs_service.mount_provider(mount, provider)?;

Read the full file on GitHub · 100 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. 9d ago First seen · 100 lines · 55 tokens per session scan A 35c6f4c0335a

Subscribe to this mod's changes

add-vfs-provider is a skill published in the GitHub repository MannanSaood/termi (8 stars, last pushed 9d ago), licensed MIT. It adds 55 tokens to every session and 1,136 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

sceneview

Build 3D and AR apps with the SceneView SDK in Jetpack Compose, SwiftUI (iOS/macOS/visionOS via SceneViewSwift), Web (Filament.js), Flutter and React Native. Use whenever the user asks for "3D in Compose", "AR with ARCore in Compose", a model viewer, or any cross-platform 3D/AR app where the dependency is…

sceneview/sceneview · 156 tokens

sceneview-web

Build 3D and WebXR (AR/VR) experiences in the browser with SceneView for Web — Filament.js (WebGL2/WASM) wrapped in a Kotlin/JS DSL and a plain-JavaScript API on window.sceneview. Use whenever the user asks for "3D in the browser", "a web model viewer", "WebXR AR/VR", or any browser 3D/AR app where the dependency is…

sceneview/sceneview · 147 tokens

to-plan

Use when one ready GitHub issue or an in-chat task needs a repository-aware implementation plan for a later implementation workflow.

chrisbanes/skills · 27 tokens

compose-animations

Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animateAsState, rememberTransition, AnimatedContent, and Crossfade.

chrisbanes/skills · 64 tokens

compose-focus-navigation

Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior.

chrisbanes/skills · 41 tokens

kotlin-control-flow

Use when writing or reviewing Kotlin branching and control flow: when expressions, guard conditions, sealed type exhaustiveness, smart casts, nullable branching, early returns, or replacing complex if/else chains.

chrisbanes/skills · 44 tokens