Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mohitmishra786/low-level-dev-skills --skill linker-scriptsgit clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skillsWrote 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.
[](https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/linker-scripts)<a href="https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/linker-scripts"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/linker-scripts/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.
<a href="https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/linker-scripts"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/linker-scripts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00103 | $0.02669 |
| Opus 5.5 | $0.00041 | $0.01068 |
| Sonnet 5.5 | $0.00021 | $0.00534 |
| Haiku 4.5 | $0.00010 | $0.00267 |
Grade A, and why
linker-scripts 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.
How it starts
The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Linker Scripts
Purpose
Guide agents through writing and modifying GNU ld linker scripts for embedded targets: MEMORY and SECTIONS commands, VMA vs LMA for code relocation, startup .bss/.data initialization, placing sections in specific regions, and using PROVIDE/KEEP/ALIGN directives.
Triggers
- "How do I write a linker script for my MCU?"
- "How do I place a function in a specific flash/RAM region?"
- "What's the difference between VMA and LMA in a linker script?"
- "How does .bss and .data initialization work at startup?"
- "Linker error: region 'FLASH' overflowed"
- "How do I use weak symbols in a linker script?"
Workflow
1. Linker script anatomy
/* Minimal Cortex-M linker script (works with newlib and C++) */
ENTRY(Reset_Handler) /* entry point symbol */
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
}
SECTIONS
{
.text : /* code section */
{
KEEP(*(.isr_vector)) /* interrupt vector must be first */
*(.text)
*(.text.*)
*(.rodata)
*(.rodata.*)
KEEP(*(.init)) /* newlib/crt0 prologue/epilogue */
KEEP(*(.fini))
*(.ARM.extab* .gnu.linkonce.armextab.*) /* unwind data */
. = ALIGN(4);
} > FLASH
.ARM.exidx : /* unwind tables (C++ exceptions, backtraces) */
{
__exidx_start = .;
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
__exidx_end = .;
} > FLASH
.init_array : /* static constructors, run by __libc_init_array() */
{
PROVIDE_HIDDEN(__preinit_array_start = .);
KEEP(*(.preinit_array*))
PROVIDE_HIDDEN(__preinit_array_end = .);
PROVIDE_HIDDEN(__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
KEEP(*(.init_array*))
PROVIDE_HIDDEN(__init_array_end = .);
PROVIDE_HIDDEN(__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array*))
PROVIDE_HIDDEN(__fini_array_end = .);
. = ALIGN(4);
_etext = .; /* end of flash code/constants */
} > FLASH
.data : /* VMA = RAM, LMA = FLASH */
{
_sdata = .;
*(.data)
*(.data.*)
. = ALIGN(4);
_edata = .;
} > RAM AT > FLASH
_sidata = LOADADDR(.data); /* LMA of .data, used by startup copy loop */
.bss (NOLOAD) :
{
_sbss = .;
__bss_start__ = _sbss; /* name newlib crt0 expects */
*(.bss)
*(.bss.*)
*(COMMON)
. = ALIGN(4);
_ebss = .;
__bss_end__ = _ebss;
} > RAM
PROVIDE(end = _ebss); /* heap start for newlib _sbrk */
/* Stack at top of RAM */
_estack = ORIGIN(RAM) + LENGTH(RAM);
}
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago Changed · +39 lines 276b19d8cd48
- 2mo ago First seen · 242 lines · 103 tokens per session scan A 9e7f8d9066bb
linker-scripts is a skill published in the GitHub repository mohitmishra786/low-level-dev-skills (304 stars, last pushed 10d ago), licensed MIT. It adds 103 tokens to every session and 2,669 once invoked, about $0.0004 per session on Opus 5.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-09-03.
linker-scripts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| linker-scriptsmohitmishra786/low-level-dev-skills | Skill | 304 | 10d ago | MIT | A | 103 | Claude Code, Codex |
| doca-argpNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 277 | Claude Code |
| holoscan-module-lifecycleNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 47 | Claude Code, Codex |
| moat-cuda-to-rocmamd/skills | Skill | 520 | yesterday | MIT | A | 190 | Claude Code |
| embedded-stm32Mindrally/skills | Skill | 322 | 1mo ago | Apache-2.0 | A | 87 | Claude Code |
| embedded-firmware-devAmethystLuna/embedded-workbench | Skill | 36 | 2d ago | MIT | A | 59 | Claude Code |
| c-cpp-devXCode-NLP/KodaSkills | Skill | 27 | 5d ago | MIT | A | 93 | Claude Code, Codex |