agentsclimarketplace

Attribution standard

Skill tyroneross/build-loop/skills/attribution-standard

Apply the canonical four-layer Apache-2.0 attribution model (NOTICE, per-file SPDX, REUSE.toml, canary markers) to a repo. Triggers on 'stamp attribution', 'add NOTICE', 'license headers', 'attribution layers', a newly public repo, or a repo with .git but no NOTICE / no REUSE.toml / no CONTRIBUTING.md. Build-loop Phase 1 Assess can advise running this when shipped source files lack SPDX headers.From its SKILL.md

Install
npx -y skills add tyroneross/build-loop --skill attribution-standard

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

7.0 KB, as published. Nobody here has run it

<!-- SPDX-FileCopyrightText: 2025-2026 Tyrone Ross, Jr <[email protected]> | SPDX-License-Identifier: Apache-2.0 -->

Attribution Standard

Four overlapping mechanisms make stripping attribution either illegal, mechanically tedious, or detectable. Each survives a different removal pattern. The research backing this skill is "Apache-2.0 Attribution & Watermarking" (private research note, 2026-05-22 — substance summarized here).

The four layers

LayerSurvivesLegally binding?Effort
1. NOTICE fileWholesale repo liftYes (Apache 2.0 §4(d))one-off
2. Per-file SPDX headers (SPDX-FileCopyrightText + SPDX-License-Identifier)Per-file copy-pasteYes (Apache 2.0 §4(c))scripted
3. REUSE.tomlFiles that cannot carry a comment (JSON, binaries)Reinforces #2scripted
4. Canary markersNaive copy-paste; detectable via GitHub code searchNolow

Canonical strings

These are build-loop's own values (this repo's actual copyright holder) — use them verbatim only when stamping attribution onto build-loop itself. Applying this skill to any OTHER repo requires the target repo's own name/email/years, not these: derive from git config user.name / user.email in that repo, an existing LICENSE/NOTICE holder if one is already present, or ask the user. The attribution_stamp.py script's --name/--email/--years flags default to the build-loop values below if omitted — always pass all three explicitly for a non-build-loop repo; never invoke the script bare against someone else's repo.

FieldValue (build-loop's own)
Copyright holderTyrone Ross, Jr
SPDX email tail<[email protected]>
Year range2025-2026
Full SPDX header value2025-2026 Tyrone Ross, Jr <[email protected]>
NOTICE AI mention"Portions of this software were developed with the assistance of Anthropic's Claude (via Claude Code) and OpenAI's Codex (via Codex CLI); AI-pair-programming contributions are attributed via Co-Authored-By trailers in the git history."
Claude co-author trailerCo-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> (substitute actual model + tier)
Codex co-author trailerCo-Authored-By: OpenAI Codex <[email protected]>

Language → comment-style table

The attribution_stamp.py script applies the right comment syntax automatically based on extension.

ExtensionStyleHeader form
.py, .sh, .bash, .zsh, .rb, .toml, .yml, .yamlhash# SPDX-FileCopyrightText: ... (after shebang if present)
.ts, .tsx, .js, .jsx, .mjs, .cjs, .css, .scss, .go, .rs, .swift, .java, .ktslash// SPDX-FileCopyrightText: ...
.md, .mdx, .htmlhtml_comment<!-- SPDX-FileCopyrightText: ... | SPDX-License-Identifier: Apache-2.0 --> (after YAML frontmatter if present)
.json and binary assetsn/acovered by REUSE.toml

Target paths

Default shipped-source roots: src scripts hooks skills agents commands references. Override via --paths.

Default excluded path components: node_modules dist build .git .venv venv archive tests/fixtures docs/test-fixtures __pycache__ .pytest_cache .mypy_cache .ruff_cache. Extend via --excludes.

For Python-heavy repos with no src/ directory (like agent-rally-point), pass the actual package path: --paths agent_rally_point or whatever directory holds the .py files.

How to apply (the script)

python scripts/attribution_stamp.py \
  --repo <path-to-repo> \
  --name "<target repo's copyright holder — NOT build-loop's, unless stamping build-loop itself>" \
  --email "<target repo owner's email/SPDX tail>" \
  --years <target repo's applicable year range> \
  --canary-files <path1> <path2> \
  [--paths <override-paths...>] \
  [--restamp]

The script is idempotent:

  • Re-running with the same args is a no-op when canonical strings already match.
  • --restamp REPLACES existing SPDX header lines so a string change (e.g. adding , Jr or an email tail) can be rolled across the tree.
  • NOTICE is always rewritten from the canonical template (the canonical strings are the source of truth, not what's on disk).
  • LICENSE appendix and README "License & Attribution" section are added when missing; CONTRIBUTING.md is written unless already canonical.

Canary files — pick two

Pick two central, stable files — one near the package entry point and one in the user-facing documentation. The canary marker is invisible to users but indexable by GitHub code search. Stable choices:

  • A package's __init__.py or main module
  • The orchestrator/coordinator skill or main markdown file
  • A central agent definition

Avoid: test files, generated code, vendored libraries, files that frequently change shape.

Build-loop Phase 1 advisory wiring

Build-loop's Phase 1 Assess fires an advisory (routes to the run report; never asks the user mid-run, per feedback_advisory_checks_are_automated) when a public repo (has a GitHub origin) is missing any of:

  • NOTICE
  • REUSE.toml
  • CONTRIBUTING.md
  • SPDX headers on at least 80% of shipped source files

The advisory line is exactly: Repo is missing standard attribution layers — run \python scripts/attribution_stamp.py --repo <path>``. When the build scope is ≥ S and the advisory fires, Phase 2 Plan queues an automatic chunk to run the stamper. Hard-blocking is out of scope — this is advisory, not a gate.

Verification

After stamping, verify:

# Canonical name present in shipped source
grep -rln 'Tyrone Ross, Jr' src scripts skills agents commands references | wc -l

# No bare 'Tyrone Ross' (without ', Jr') in stamped files
grep -rln 'SPDX-FileCopyrightText:.*Tyrone Ross$' src scripts skills agents commands references | wc -l   # expect 0

# No SPDX line without the email tail
grep -rL 'noreply.github.com' \
  $(grep -rl 'SPDX-FileCopyrightText: 2025-2026 Tyrone Ross' src scripts skills agents commands references) \
  | wc -l   # expect 0

# REUSE compliance
uvx reuse lint

NOTICE must mention both Claude (via Claude Code) and OpenAI Codex (via Codex CLI).

When NOT to use this skill

  • Repos that aren't Apache 2.0 (the SPDX line hardcodes it; for other SPDX IDs, modify the script or invoke per-language manually).
  • Repos that don't ship source (pure design assets, datasets, etc.).
  • Forks of someone else's project — Apache 2.0 §4(c) requires you to PRESERVE the upstream copyright, not replace it. The script's --restamp flag is dangerous here.

Keep looking

Skills are one crate of 608,666. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.