agentleFS
DBinKDBinK/youarehere/skills/here/SKILL.md

here

Skill1 starsChanged 53 days agoMITView on GitHub

Read the user's current position in VS Code (file + line range), then read that code. Only invoke when the user explicitly types /here — do not trigger it from conversation context.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. MysterionRise/ctf-kit★ 12same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not read the selection and do not answer the code question while the versions disagree.

    line 33
  2. Very specific:

    When what follows the colon is a line range (:10-16), the user has those lines selected.

    line 41
  3. Very specific:

    If ref.json doesn't exist, the extension isn't running — tell the user to install or launch the "You Are Here" extension (DBinK.youarehere).

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Output the VS Code selection reference

The user's current position in VS Code is written to ~/.youarehere/ref.json, which has exactly four fields:

{
  "ref": "/path/to/workspace/src/example.ts:10-16",
  "isDirty": false,
  "updatedAt": "2026-09-18T06:28:23.746Z",
  "extensionVersion": "0.3.0"
}

Check the versions first

ref.json carries extensionVersion, this skill carries metadata.version. The two are numbered together on purpose, so a mismatch means these instructions were written for a different build of the extension.

Do this before using the reference.

  • extensionVersion is missing: the file was written by an extension older than 0.3.0, while this skill is <metadata.version> — here the skill is the newer half, so npx skills update would change nothing. Tell the user their extension predates 0.3.0 and has to be updated, then wait. Restarting VS Code makes the current extension rewrite both files, so a stale one clears itself once the updated extension is running.
  • extensionVersion is present and differs from metadata.version: the extension is the newer half. Tell the user the extension is <extensionVersion> while this skill is <metadata.version>, and that the skill must be updated before it can be trusted; the extension shows its own reminder once per install, so they may have seen it already. Give them the command: npx skills update. If the release renamed a skill, its CHANGELOG entry carries a npx skills remove … step that has to run first — an update alone leaves the retired name behind, still auto-triggering. Ask them to run it now and wait for the result.

Do not read the selection and do not answer the code question while the versions disagree. Continue without an update only if the user explicitly tells you to, and then state once that the instructions may be stale for the running extension.

Notes

ref is already assembled — use it as-is, don't build the path or the line numbers yourself.

Once you have ref, go read that code — the state file holds a position only, not the selected text.

When what follows the colon is a line range (:10-16), the user has those lines selected. When it's a single line number (:42), the user has merely parked the cursor there and selected nothing.

isDirty: true means the file has unsaved changes — reading from disk may give you content that doesn't match what's on the user's screen, with line numbers possibly shifted. Mention it and ask the user to save first.

It's also worth mentioning if updatedAt is clearly stale (minutes old, while the user says they just selected something).

ref: null means the active editor isn't a real file — a diff view, the Source Control panel, an output panel. You have no file path; tell the user to select code in a real file.

If ref.json doesn't exist, the extension isn't running — tell the user to install or launch the "You Are Here" extension (DBinK.youarehere).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.