Agent skill

File Links

by xenodium in xenodium/emacs-skills

When referencing files, format them as markdown links with line numbers using GitHub-style L syntax.

No licenceAuto-check passedDocuments & Office

Install File Links

skills CLI
$ npx skills add xenodium/emacs-skills --skill file-links -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install xenodium/emacs-skills file-links --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/xenodium/emacs-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/file-links .claude/skills/file-links && rm -rf skills-src

Use ~/.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/

Facts

Skill name
file-links
GitHub stars
143
Token cost
~322 tokens
SKILL.md length
140 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
None found

At a glance

When referencing files, format them as markdown links with line numbers using GitHub-style L syntax.

  • Tasks that involve Markdown
  • SKILL.md covers Format, Important and Rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

File Links is an agent skill from xenodium/emacs-skills. When referencing files, format them as markdown links with line numbers using GitHub-style L syntax.

Its SKILL.md is about 320 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 Documents & Office, covering Markdown. It works with GitHub. The repository describes itself as: Emacs skills for coding agents.

When your agent uses it

  • Tasks that involve Markdown

Example prompts

  • “/file-links”

What it can do on your machine

Read from SKILL.md and the folder at commit a158238. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

File Links loads about 322 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 140 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~322

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.

Safety

Auto-check passed

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 140 words (~322 tokens).

“When referencing files in your output, always format them as markdown links. Use the GitHub-style #L fragment for line numbers.”

— opening of SKILL.md by xenodium
name
file-links

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/file-links of xenodium/emacs-skills.

Open the folder on GitHubat commit a158238

Compare with similar skills

File Links 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.

File Links compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
File Links this skillxenodium/emacs-skills143—~322Automated safety check: PassNone
Markitshift-labs-ai/markit1.3k—~299Automated safety check: PassMIT
Deepxiv Baseline TableDeepXiv/deepxiv_sdk804—~1.6kAutomated safety check: PassMIT
Openclaw Ghsa MaintainerSafeAI-Lab-X/ClawKeeper1k—~728Automated safety check: PassNone
Juejin Publishereunomia-bpf/eunomia.dev236—~4.8kAutomated safety check: PassMIT
Fetch Markdown Specstats-u/markdown-cjk-friendly167—~179Automated safety check: PassMIT

Similar skills

  • Markit

    shift-labs-ai/markit

    Convert files and URLs to Markdown. An agent skill from shift-labs-ai/markit.

    1.3k GitHub stars~299 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Deepxiv Baseline Table

    DeepXiv/deepxiv_sdk

    Build a markdown baseline table for a research topic using deepxiv search, brief, head, and experiment-section reads, extracting paper title, URL, open-source status, datasets, benchmark scores, and…

    804 GitHub stars~1.6k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Openclaw Ghsa Maintainer

    SafeAI-Lab-X/ClawKeeper

    Maintainer workflow for OpenClaw GitHub Security Advisories (GHSA).

    1k GitHub stars~728 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Juejin Publisher

    eunomia-bpf/eunomia.dev

    Prepare or publish eunomia.dev Markdown articles on Juejin. An agent skill from eunomia-bpf/eunomia.dev.

    236 GitHub stars~4.8k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Fetch Markdown Specs

    tats-u/markdown-cjk-friendly

    Read if you want to refer to the CommonMark/GFM specifications

    167 GitHub stars~179 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Documentation

    github/gh-aw

    Official

    Write concise Diataxis docs for gh-aw with Starlight markdown conventions.

    5.4k GitHub stars~1.9k tokensUpdated today
    Documents & OfficeAuto-check passed

More from xenodium/emacs-skills

All 19 skills in this repo
  • D2

    xenodium/emacs-skills

    This skill should be used when the user invokes "/d2" to create a diagram from the current context using D2 and output the resulting image path.

    143 GitHub stars~693 tokensUpdated 2 mo ago
    Auto-check passed
  • GitHub Activity

    xenodium/emacs-skills

    This skill should be used when the user invokes "/github-activity" to analyze a GitHub project's recent activity (PRs and issues) and produce a succinct, chart-backed health report.

    143 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Gnuplot

    xenodium/emacs-skills

    This skill should be used when the user invokes "/gnuplot" to plot data from the current context using gnuplot and output the resulting image path.

    143 GitHub stars~734 tokensUpdated 2 mo ago
    Auto-check passed
  • Mappu

    xenodium/emacs-skills

    A skill your agent uses when the user asks about a specific place — restaurant, cafe, shop, business, landmark — or when context implies a location-based lookup ("where is X", "find Y", "X in Z", "X…

    143 GitHub stars~925 tokensUpdated 2 mo ago
    Auto-check passed
  • Matplotlib

    xenodium/emacs-skills

    This skill should be used when the user invokes "/matplotlib" to plot data from the current context using matplotlib (via uv) and output the resulting image path.

    143 GitHub stars~690 tokensUpdated 2 mo ago
    Auto-check passed
  • Mermaid

    xenodium/emacs-skills

    This skill should be used when the user invokes "/mermaid" to create a diagram from the current context using Mermaid and output the resulting image path.

    143 GitHub stars~893 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about File Links

What does File Links do?

When referencing files, format them as markdown links with line numbers using GitHub-style L syntax. File Links is an agent skill from xenodium/emacs-skills. When referencing files, format them as markdown links with line numbers using GitHub-style L syntax.

When should I use File Links?

File Links fits situations like: tasks that involve Markdown.

How do I install File Links in Claude Code?

Run `npx skills add xenodium/emacs-skills --skill file-links -a claude-code`. Or copy the skill folder (skills/file-links in xenodium/emacs-skills) into .claude/skills/file-links in your project. Claude Code loads it when a task matches its description.

How do I install File Links in Codex?

Run `npx skills add xenodium/emacs-skills --skill file-links -a codex`. Or copy the skill folder (skills/file-links in xenodium/emacs-skills) into .agents/skills/file-links in your project. Codex loads it when a task matches its description.

Can I use File Links in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xenodium/emacs-skills --skill file-links -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/file-links, .gemini/skills/file-links, .github/skills/file-links and .opencode/skills/file-links in your project.

What does File Links need to run?

SKILL.md names no scripts, command-line tools or credentials: File Links is instructions for the agent only.

Does File Links access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is File Links safe to install?

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.

What licence does File Links use?

No licence was found for File Links or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does File Links use?

About 322 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to File Links?

Skills that share tags, products or a category with File Links: Markit (shift-labs-ai/markit, 1.3k stars), Deepxiv Baseline Table (DeepXiv/deepxiv_sdk, 804 stars), Openclaw Ghsa Maintainer (SafeAI-Lab-X/ClawKeeper, 1k stars) and Juejin Publisher (eunomia-bpf/eunomia.dev, 236 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains File Links?

xenodium (a GitHub user) maintains it in xenodium/emacs-skills, which has 143 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on July 21, 2026.

Source: xenodium/emacs-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.