mcpbeat

Add Object Nid Oid

google/add-object-nid-oid

How to add a new object with a NID and/or OID to BoringSSL.

279 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
2242
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/google/boringssl --skill add-object-nid-oid

The instruction itself

2 sections, as written by the author

Adding a New NID or OID

To add a new ASN.1 object (with a NID and/or OID) to BoringSSL, you must add it to the objects definition file and regenerate the generated headers and lookup tables.

Refer to crypto/obj/README.md for an overview of the generated files.

Steps

  • Update objects.txt:
  • Add the new object to crypto/obj/objects.txt.
  • Follow the format described in crypto/obj/README.md (in the section titled "objects.txt Format Reference").
  • Regenerate Files:
  • The generator script crypto/obj/objects.go must be run from the crypto/obj directory because it relies on relative paths for its inputs and outputs.
  • Run the following command:
        cd crypto/obj && go run objects.go
  • This will update obj_mac.num (to stabilize NIDs), obj_dat.h, and include/openssl/nid.h.

How to use it

Copy the folder

Take google/add-object-nid-oid from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.