Imported skill tracing from langchain
Scanned 9/2/2026
Install to Claude Code
npx -y skills add majiayu000/claude-skill-registry --skill tracing-bitwikiorg-skills-md --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Tracing Bitwikiorg Skills Md?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/majiayu000-tracing-bitwikiorg-skills-md)More formats (shields.io, HTML) on the badges page.
---
description: Imported skill tracing from langchain
name: tracing
signature: 55e225e09d09984dee0fceb0daed0fd9527dfbefdf49a6ee22903b3beb4cb0c6
source: /a0/tmp/skills_research/langchain/libs/harbor/deepagents_harbor/tracing.py
---
"""LangSmith integration for Harbor DeepAgents."""
import hashlib
import uuid
def create_example_id_from_instruction(instruction: str, seed: int = 42) -> str:
"""Create a deterministic UUID from an instruction string.
Normalizes the instruction by stripping whitespace and creating a
SHA-256 hash, then converting to a UUID for LangSmith compatibility.
Args:
instruction: The task instruction string to hash
seed: Integer seed to avoid collisions with existing examples
Returns:
A UUID string generated from the hash of the normalized instruction
"""
# Normalize the instruction: strip leading/trailing whitespace
normalized = instruction.strip()
# Prepend seed as bytes to the instruction for hashing
seeded_data = seed.to_bytes(8, byteorder="big") + normalized.encode("utf-8")
# Create SHA-256 hash of the seeded instruction
hash_bytes = hashlib.sha256(seeded_data).digest()
# Use first 16 bytes to create a UUID
example_uuid = uuid.UUID(bytes=hash_bytes[:16])
return str(example_uuid)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!