Skip to content

rlaope/oh-my-hermes / .claude/agent-skills/omh-show-reel

omh-show-reel

Unverified

[omh] Video to make from an idea or a product: an explainer, motion…

FileKindSize
SKILL.mdskill md12.6 KB
references/art-direction.mdmarkdown9.4 KB
references/assets-and-rights.mdmarkdown1.9 KB
references/audio-production.mdmarkdown5.0 KB
references/brief-and-locales.mdmarkdown5.2 KB
references/craft-audio.mdmarkdown19.9 KB
references/craft-brief.mdmarkdown12.2 KB
references/craft-design.mdmarkdown15.5 KB
references/craft-engine.mdmarkdown26.5 KB
references/craft-images.mdmarkdown9.3 KB
references/craft-qa.mdmarkdown13.2 KB
references/craft-story.mdmarkdown20.6 KB
references/craft-techniques-2.mdmarkdown15.2 KB
references/craft-techniques.mdmarkdown22.6 KB
references/craft-workflow.mdmarkdown32.3 KB
references/cut-sheet.mdmarkdown8.3 KB
references/game-capture.mdmarkdown1.8 KB
references/genres.mdmarkdown4.8 KB
references/kinetic-type.mdmarkdown6.7 KB
references/launch-film.mdmarkdown5.4 KB
references/motion-techniques.mdmarkdown4.3 KB
references/procedure.mdmarkdown17.0 KB
references/render-qa-delivery.mdmarkdown12.2 KB
references/renderer-adapter.mdmarkdown9.4 KB
references/source-package.mdmarkdown1.4 KB
references/storyboard-and-evidence.mdmarkdown6.5 KB
toolkit/LICENSE.upstreamother1.1 KB
toolkit/README.mdmarkdown18.7 KB
toolkit/assets/engine/engine.jsscript21.6 KB
toolkit/assets/engine/fx.jsscript20.9 KB
toolkit/assets/engine/index.htmlother3.0 KB
toolkit/assets/engine/scenes.jsscript12.7 KB
toolkit/assets/sfx_presets.jsonconfig3.3 KB
toolkit/examples/README.mdmarkdown744 B
toolkit/examples/music-spec.jsonconfig372 B
toolkit/examples/timing.jsonconfig146 B
toolkit/scripts/codex_ref_image.shscript2.6 KB
toolkit/scripts/contact_sheet.pyscript8.7 KB
toolkit/scripts/eleven.pyscript19.5 KB
toolkit/scripts/finish.pyscript8.0 KB
toolkit/scripts/font-coverage.mjsscript2.8 KB
toolkit/scripts/mix.pyscript9.5 KB
toolkit/scripts/motion_check.pyscript11.3 KB
toolkit/scripts/music_tools.pyscript29.4 KB
toolkit/scripts/narrate.pyscript12.5 KB
toolkit/scripts/new_project.pyscript10.5 KB
toolkit/scripts/preflight.pyscript5.6 KB
toolkit/scripts/prep_images.pyscript5.8 KB
toolkit/scripts/qa_check.pyscript7.1 KB
toolkit/scripts/render.mjsscript22.6 KB
toolkit/scripts/synth_music.pyscript6.4 KB
toolkit/scripts/timeline.pyscript16.6 KB
toolkit/scripts/tools/cutout.swiftscript1.8 KB
toolkit/upstream-manifest.jsonconfig20.3 KB

toolkit/scripts/font-coverage.mjs

View on GitHub
// Original OMH helper, MIT. Checks cmap coverage, NOT shaping or native-language correctness.
// TTF/OTF sfnt only. WOFF/collections require explicit conversion by the host; never auto-download.
export function glyphChecker(data) {
  if(data.length<12||!['00010000','4f54544f'].includes(data.subarray(0,4).toString('hex')))throw Error('HOLD: glyph check requires TTF/OTF sfnt font');
  const tables=data.readUInt16BE(4);let offset=-1,length=0;
  for(let i=0;i<tables;i++){
    const at=12+i*16;if(at+16>data.length)throw Error('invalid font table');
    if(data.subarray(at,at+4).toString()==='cmap'){offset=data.readUInt32BE(at+8);length=data.readUInt32BE(at+12);}
  }
  if(offset<0||offset+length>data.length)throw Error('missing/invalid font cmap');
  const cmap=data.subarray(offset,offset+length),count=cmap.readUInt16BE(2),checks=[];
  for(let i=0;i<count;i++){
    const at=4+i*8,platform=cmap.readUInt16BE(at),encoding=cmap.readUInt16BE(at+2),sub=cmap.readUInt32BE(at+4);
    if(!(platform===0||platform===3&&[1,10].includes(encoding)))continue;
    const format=cmap.readUInt16BE(sub);
    if(format===12){
      const groups=cmap.readUInt32BE(sub+12);
      if(groups>100000||sub+16+groups*12>cmap.length)throw Error('invalid cmap12');
      checks.push(code=>{let lo=0,hi=groups-1;while(lo<=hi){const mid=(lo+hi)>>1,p=sub+16+mid*12,a=cmap.readUInt32BE(p),b=cmap.readUInt32BE(p+4);if(code<a)hi=mid-1;else if(code>b)lo=mid+1;else return cmap.readUInt32BE(p+8)+code-a!==0;}return false;});
    }else if(format===4){
      const segments=cmap.readUInt16BE(sub+6)/2,ends=sub+14,starts=ends+segments*2+2,deltas=starts+segments*2,offsets=deltas+segments*2;
      if(!Number.isInteger(segments)||offsets+segments*2>cmap.length)throw Error('invalid cmap4');
      checks.push(code=>{
        if(code>65535)return false;
        for(let j=0;j<segments;j++){
          const end=cmap.readUInt16BE(ends+2*j),start=cmap.readUInt16BE(starts+2*j);
          if(code>end)continue;if(code<start)return false;
          const delta=cmap.readInt16BE(deltas+2*j),range=cmap.readUInt16BE(offsets+2*j);
          if(!range)return ((code+delta)&65535)!==0;
          const p=offsets+2*j+range+2*(code-start);
          if(p+2>cmap.length)throw Error('cmap glyph offset out of range');
          const glyph=cmap.readUInt16BE(p);return glyph!==0&&((glyph+delta)&65535)!==0;
        }return false;
      });
    }
  }
  if(!checks.length)throw Error('HOLD: unsupported Unicode font cmap');
  return code=>checks.some(check=>check(code));
}

export function assertGlyphs(text,checks){
  for(const character of text){
    const code=character.codePointAt(0);
    if(/[\s]/u.test(character)||[0x200c,0x200d,0x2066,0x2067,0x2068,0x2069].includes(code))continue;
    if(!checks.some(check=>check(code)))throw Error('HOLD: missing glyph U+'+code.toString(16).toUpperCase());
  }
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall