Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
Python ai-agentsantigravityastclaude-codecode-analysiscode-searchcodexcursordeveloper-toolsgeminigraphifygraphragknowledge-graphleidenllmmcpopenclawragskillstree-sitter
import kotlinx.coroutines.delay
import kotlin.math.max
data class Config(val baseUrl: String, val timeout: Int)
class HttpClient(private val config: Config) {
fun get(path: String): String {
return buildRequest("GET", path)
}
fun post(path: String, body: String): String {
return buildRequest("POST", path)
}
private fun buildRequest(method: String, path: String): String {
return "$method ${config.baseUrl}$path"
}
}
fun createClient(baseUrl: String): HttpClient {
val config = Config(baseUrl, 30)
return HttpClient(config)
}