Third Party Code
Othersthird-party-codeThird Party Code is an Agent Skill for general use published in the open-edge-platform/anomalib repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Review/generate third-party code attribution, licensing, and notice requirements
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/open-edge-platform/anomalib/blob/HEAD/.agents/skills/third-party-code/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/third-party-code, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Third-Party Code Review
Use this skill when reviewing or generating code that is copied from, adapted from, or substantially based on an external project.
Purpose and scope
Use this skill for licensing, attribution, notices, and repository bookkeeping around third-party-derived code.
Core rule
- Do not add third-party-derived code unless its license allows redistribution and modification compatible with this repository.
- Preserve upstream attribution and required notices.
- Track the imported/adapted component in the repository's third-party inventory.
Request changes when
- third-party-derived code is added without a matching
third-party-programs.txtentry; - a colocated
LICENSEfile is missing; - upstream attribution or license text is removed or weakened;
- license compatibility has not been verified for copied or adapted code.
Required actions for new third-party-derived code
- Add or update an entry in
third-party-programs.txt. - Add a colocated
LICENSEfile in the relevant component or subtree. - Name the upstream project and author/source in that
LICENSEfile. - Include the upstream license text or required notice in that
LICENSEfile. - Keep the anomalib-side copyright/SPDX notice pattern when the repository's existing third-party examples do so.
Required actions for updates to existing third-party-derived code
- Preserve existing attribution, SPDX tags, and license text.
- Do not remove or weaken upstream notices.
- Update
third-party-programs.txtif the tracked component, source, or licensing metadata changes.
Repo-grounded review anchors
third-party-programs.txtsrc/**/LICENSE
Review prompts
- Is this code copied or adapted from a third-party source?
- If yes, is there a matching entry in
third-party-programs.txt? - Is there a colocated
LICENSEfile with upstream attribution and license text? - Are required notices preserved in modified files and surrounding documentation?
- Has anyone verified that the upstream license is compatible with redistribution in this repository?
Reviewer checklist
- Check whether the code is third-party-derived.
- Check
third-party-programs.txt. - Check the colocated
LICENSEfile. - Check attribution and compatibility.