{"skills":[{"name":"Check which interview extracts can be shared","description":"Match a planned release to narrator permissions, recording-specific restrictions and embargo dates.","content":"# Check which interview extracts can be shared\n\nMatch a planned release to narrator permissions, recording-specific restrictions and embargo dates.\n\n## When to use this skill\n\n- An archive, museum, library or community project wants to post oral history clips online, use them in an exhibition or podcast, or send them to a researcher.\n- A recording agreement closes part of an interview or sets an embargo date and someone needs to know which clips are affected.\n- Several interviews have different release forms and the team needs a decision for each clip.\n\n## When not to use it\n\n- Interpreting an unclear or disputed agreement as a legal matter. The rights holder or the organisation's legal adviser decides.\n- Checking content for defamation or for harm to people mentioned. That needs a separate sensitivity review.\n- Recordings with no agreement at all. They stay closed until permission is found or obtained.\n\n## What you need\n\n- Written permissions with dates and scope, extract IDs and the intended audience and use.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- What does each narrator's recording agreement or release allow: listening in the archive, research use, publication, broadcast, online use? Can you share the signed forms?\n- Are any sections closed, with time codes, and do any restrictions end on a set date?\n- What exactly is the planned use, where and from what date, and what are each clip's start and end times?\n\n## Method\n\n1. Work clip by clip. Record the narrator, the recording, the exact start and end time codes, the planned use, the audience and the date of use.\n2. Find the permission that governs that recording: the signed recording or release agreement, any later restriction or amendment, and the archive's deposit or access agreement. A different recording needs its own permission.\n3. Compare the planned use with what is allowed. Playback in a reading room, supply to a researcher and online publication are different uses.\n4. Check every closed section against the clip's time span. Any overlap, however short, restricts the whole clip as proposed. Where useful, suggest a trimmed clip that avoids the closed section.\n5. Check embargo dates: a time-limited restriction needs a known end date, and the planned date must fall on or after it. Check any conditions attached to release.\n6. Where permission is missing, unclear or conflicting, mark the clip 'confirm' and name who can decide. Do not infer permission from holding the recording or from other narrators' forms.\n7. Before online release, recommend a sensitivity check for people mentioned and, unless the agreement says otherwise, consulting the narrator, as the Oral History Society advises.\n\n## Checks before you deliver\n\n- Possessing a recording does not establish consent to publish it.\n- An open interview can contain a restricted section.\n- Reading 'closed until 2027' as open from 1 January 2027 when the agreement names a later day.\n- Assuming permission for one interview session covers a second session with the same narrator.\n- Clearing a clip because most of it is open, when its last few seconds fall inside a closed section.\n\n## How to present the result\n\nStart with a decision list: clip, time span, decision (allowed, restricted or confirm) and the agreement clause or restriction it rests on. Then list clips that could be cleared by trimming, with the safe time span. Finish with the questions for the rights holder or archive about each 'confirm' clip.\n\n## Worked example\n\n**Request:** May the archive post these audio clips online?\n\n**Supplied material:**\n\n```text\nRelease permits web audio except minutes 12:00\u201315:00. Clip A 09:00\u201310:00, B 14:30\u201315:10. Clip C is a different recording with no release on file.\n```\n\n**Answer:** Clip A (09:00\u201310:00) is cleared for web audio under this release. Hold clip B as supplied: 14:30\u201315:00 falls inside the restricted passage. Hold C until the archive finds permission for that separate recording.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nFor this permission triage return access keyed by extract ID with allowed, restricted or confirm. Each fixture supplies the operative permissions; do not infer other licences.\n\n## Sources\n\n- [Oral History Association: Archiving Oral History, manual of best practices](https:\/\/oralhistory.org\/archives-principles-and-best-practices-complete-manual\/): Says interviews should ideally have a legal release, that releases can set restrictions on access and use, including for a period of time, that repositories should always honour the access terms in the release, and that online discovery depends on the release and ethical concerns.\n- [Oral History Society: legal and ethical advice, archiving](https:\/\/ohs.org.uk\/legal-and-ethical-advice\/legal-and-ethical-archiving\/): The UK society says custodians should make recordings available in line with any limits in the recording agreement, consult interviewees before online release unless the agreement says otherwise, and check interviews for material that could damage or distress people mentioned.\n- [Oral History Society: legal and ethical advice, after the interview](https:\/\/ohs.org.uk\/legal-and-ethical-advice\/legal-and-ethical-after\/): Says the recording agreement should describe any restrictions with time codes and the dates embargoes end, and that under UK law an interviewee owns copyright in their recorded words unless they assign it.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/oral-history-access\n","scope":"contextual","trigger_keywords":["Check which interview extracts can be shared","oral-history-access","oral history access","Can we post these oral history clips online?","Can we post these oral history clips online","share these oral history clips","oral history permissions","oral history release form"],"is_private":true,"is_active":true,"scripts":[{"name":"oral-history-access-check","description":"Compare a saved JSON answer with a published test. Pass tests\/case-1\/expected.json (or another case) and the path to your answer.","language":"python","filename":"oral-history-access-check.py","content":"from pathlib import Path\nimport runpy\n\nrunpy.run_path(str(Path(__file__).parent \/ 'tests' \/ 'check.py'), run_name='__main__')\n","supporting_files":[{"path":"SKILL.md","content":"---\nname: oral-history-access\ndescription: \"Check each planned oral history clip or extract against the narrator's recording agreement, closed sections and embargo dates, and mark it allowed, restricted or needing confirmation. Use when an archive, museum or project wants to publish, broadcast or share interview audio or transcripts.\"\nlicense: CC-BY-4.0\nmetadata:\n  author: Raq.com\n  version: \"2026-11-22\"\n  homepage: https:\/\/skills.raq.com\/skills\/oral-history-access\n---\n\n# Check which interview extracts can be shared\n\nMatch a planned release to narrator permissions, recording-specific restrictions and embargo dates.\n\n## When to use this skill\n\n- An archive, museum, library or community project wants to post oral history clips online, use them in an exhibition or podcast, or send them to a researcher.\n- A recording agreement closes part of an interview or sets an embargo date and someone needs to know which clips are affected.\n- Several interviews have different release forms and the team needs a decision for each clip.\n\n## When not to use it\n\n- Interpreting an unclear or disputed agreement as a legal matter. The rights holder or the organisation's legal adviser decides.\n- Checking content for defamation or for harm to people mentioned. That needs a separate sensitivity review.\n- Recordings with no agreement at all. They stay closed until permission is found or obtained.\n\n## What you need\n\n- Written permissions with dates and scope, extract IDs and the intended audience and use.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- What does each narrator's recording agreement or release allow: listening in the archive, research use, publication, broadcast, online use? Can you share the signed forms?\n- Are any sections closed, with time codes, and do any restrictions end on a set date?\n- What exactly is the planned use, where and from what date, and what are each clip's start and end times?\n\n## Method\n\n1. Work clip by clip. Record the narrator, the recording, the exact start and end time codes, the planned use, the audience and the date of use.\n2. Find the permission that governs that recording: the signed recording or release agreement, any later restriction or amendment, and the archive's deposit or access agreement. A different recording needs its own permission.\n3. Compare the planned use with what is allowed. Playback in a reading room, supply to a researcher and online publication are different uses.\n4. Check every closed section against the clip's time span. Any overlap, however short, restricts the whole clip as proposed. Where useful, suggest a trimmed clip that avoids the closed section.\n5. Check embargo dates: a time-limited restriction needs a known end date, and the planned date must fall on or after it. Check any conditions attached to release.\n6. Where permission is missing, unclear or conflicting, mark the clip 'confirm' and name who can decide. Do not infer permission from holding the recording or from other narrators' forms.\n7. Before online release, recommend a sensitivity check for people mentioned and, unless the agreement says otherwise, consulting the narrator, as the Oral History Society advises.\n\n## Checks before you deliver\n\n- Possessing a recording does not establish consent to publish it.\n- An open interview can contain a restricted section.\n- Reading 'closed until 2027' as open from 1 January 2027 when the agreement names a later day.\n- Assuming permission for one interview session covers a second session with the same narrator.\n- Clearing a clip because most of it is open, when its last few seconds fall inside a closed section.\n\n## How to present the result\n\nStart with a decision list: clip, time span, decision (allowed, restricted or confirm) and the agreement clause or restriction it rests on. Then list clips that could be cleared by trimming, with the safe time span. Finish with the questions for the rights holder or archive about each 'confirm' clip.\n\n## Worked example\n\n**Request:** May the archive post these audio clips online?\n\n**Supplied material:**\n\n```text\nRelease permits web audio except minutes 12:00\u201315:00. Clip A 09:00\u201310:00, B 14:30\u201315:10. Clip C is a different recording with no release on file.\n```\n\n**Answer:** Clip A (09:00\u201310:00) is cleared for web audio under this release. Hold clip B as supplied: 14:30\u201315:00 falls inside the restricted passage. Hold C until the archive finds permission for that separate recording.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nFor this permission triage return access keyed by extract ID with allowed, restricted or confirm. Each fixture supplies the operative permissions; do not infer other licences.\n\n## Sources\n\n- [Oral History Association: Archiving Oral History, manual of best practices](https:\/\/oralhistory.org\/archives-principles-and-best-practices-complete-manual\/): Says interviews should ideally have a legal release, that releases can set restrictions on access and use, including for a period of time, that repositories should always honour the access terms in the release, and that online discovery depends on the release and ethical concerns.\n- [Oral History Society: legal and ethical advice, archiving](https:\/\/ohs.org.uk\/legal-and-ethical-advice\/legal-and-ethical-archiving\/): The UK society says custodians should make recordings available in line with any limits in the recording agreement, consult interviewees before online release unless the agreement says otherwise, and check interviews for material that could damage or distress people mentioned.\n- [Oral History Society: legal and ethical advice, after the interview](https:\/\/ohs.org.uk\/legal-and-ethical-advice\/legal-and-ethical-after\/): Says the recording agreement should describe any restrictions with time codes and the dates embargoes end, and that under UK law an interviewee owns copyright in their recorded words unless they assign it.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/oral-history-access\n"},{"path":"LICENSE.txt","content":"Original Raq.com instructions and synthetic examples: CC BY 4.0.\nhttps:\/\/creativecommons.org\/licenses\/by\/4.0\/\nAttribution: Raq.com, https:\/\/skills.raq.com\/skills\/oral-history-access\nReferenced third-party materials retain their own terms.\n"},{"path":"examples\/worked-example.md","content":"# A closed passage\n\nMay the archive post these audio clips online?\n\n## Supplied material\n\nRelease permits web audio except minutes 12:00\u201315:00. Clip A 09:00\u201310:00, B 14:30\u201315:10. Clip C is a different recording with no release on file.\n\n## Worked answer\n\nClip A (09:00\u201310:00) is cleared for web audio under this release. Hold clip B as supplied: 14:30\u201315:00 falls inside the restricted passage. Hold C until the archive finds permission for that separate recording.\n\n## Reasoning\n\nOverlap with any part of the closed passage restricts the entire proposed clip.\n"},{"path":"tests\/check.py","content":"\"\"\"Check a saved agent answer locally with Python 3 (standard library only).\"\"\"\nimport json\nimport math\nimport sys\nfrom pathlib import Path\n\n\ndef compare(expected, actual, path=\"$\", accepted=None):\n    if isinstance(expected, bool) or isinstance(actual, bool):\n        if expected is not actual:\n            yield path\n    elif isinstance(expected, (int, float)) and isinstance(actual, (int, float)):\n        if not math.isclose(expected, actual, rel_tol=0, abs_tol=1e-8):\n            yield path\n    elif isinstance(expected, dict) and isinstance(actual, dict):\n        for key in sorted(set(expected) | set(actual)):\n            if key not in expected or key not in actual:\n                yield f\"{path}.{key}\"\n            elif not any(\n                not list(compare(option, actual[key]))\n                for option in (accepted or {}).get(key, [])\n            ):\n                yield from compare(expected[key], actual[key], f\"{path}.{key}\")\n    elif isinstance(expected, list) and isinstance(actual, list):\n        if len(expected) != len(actual):\n            yield f\"{path} (length)\"\n        for i, (left, right) in enumerate(zip(expected, actual)):\n            yield from compare(left, right, f\"{path}[{i}]\")\n    elif type(expected) != type(actual) or expected != actual:\n        yield path\n\n\ndef main():\n    if len(sys.argv) != 3:\n        raise SystemExit(\"Usage: python3 check.py expected.json answer.json\")\n    try:\n        expected, actual = [json.loads(Path(p).read_text(encoding=\"utf-8\")) for p in sys.argv[1:]]\n        alternatives = Path(sys.argv[1]).with_name(\"accepted.json\")\n        accepted = json.loads(alternatives.read_text(encoding=\"utf-8\")) if alternatives.is_file() else {}\n    except (ValueError, OSError) as error:\n        raise SystemExit(str(error))\n    differences = list(compare(expected, actual, accepted=accepted))\n    if differences:\n        raise SystemExit(\"Different fields: \" + \", \".join(differences))\n    print(\"Pass\")\n\n\nif __name__ == \"__main__\":\n    main()\n"},{"path":"tests\/README.md","content":"Give your agent SKILL.md and one request.txt in a fresh session. Keep the expected answer aside. Save the reply as answer.json, then run this from the tests folder:\n\n    python3 check.py case-1\/expected.json answer.json\n\nEach case also has an explanation. Where accepted.json exists, the checker accepts the alternatives listed there.\n"},{"path":"tests\/case-1\/request.txt","content":"May the archive post these audio clips online?\nReturn only the JSON specified in SKILL.md for this test.\n\nRelease permits web audio except minutes 12:00\u201315:00. Clip A 09:00\u201310:00, B 14:30\u201315:10. Clip C is a different recording with no release on file.\n"},{"path":"tests\/case-1\/expected.json","content":"{\n    \"access\": {\n        \"A\": \"allowed\",\n        \"B\": \"restricted\",\n        \"C\": \"confirm\"\n    }\n}\n"},{"path":"tests\/case-1\/explanation.txt","content":"Overlap with any part of the closed passage restricts the entire proposed clip.\n"},{"path":"tests\/case-2\/request.txt","content":"Check a proposed online release.\nReturn only the JSON specified in SKILL.md for this test.\n\nD: signed permission restricts access to reading-room playback only. E: separate release expressly allows online publication from 1 March 2027. Proposed web date 1 March 2027.\n"},{"path":"tests\/case-2\/expected.json","content":"{\n    \"access\": {\n        \"D\": \"restricted\",\n        \"E\": \"allowed\"\n    }\n}\n"},{"path":"tests\/case-2\/explanation.txt","content":"Playback in a room and publication online are different uses.\n"}],"is_active":true,"is_approved":false}]}]}