This guide has been moved to the blog https://blog.serghei.pl/posts/agent-skills-101/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import functools | |
| import inspect | |
| from typing import Callable, Literal, Optional | |
| from langchain_core.tools import BaseTool, StructuredTool | |
| from langchain_core.tools.base import ArgsSchema | |
| def class_bound_tool( | |
| *args, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "mcpServers": { | |
| "knowledgebase_db": { | |
| "type": "stdio", | |
| "command": "uv", | |
| "args": [ | |
| "run", | |
| "python", | |
| "./.cursor/postgres.py", | |
| "--db", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| from typing import List, Optional, Tuple | |
| import faiss | |
| import numpy as np | |
| import torch | |
| from transformers import ( | |
| AutoModelForCausalLM, | |
| AutoTokenizer, | |
| DPRContextEncoder, |
This script fetches all repositories within a specified GitHub organization and identifies those without a CODEOWNERS file in repository root. It excludes archived/disabled repositories and forks.
- Ensure you have Node.js installed.
- Install the required packages using npm:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Copyright (C) 2025 Serghei Iakovlev <gnu@serghei.pl> | |
| # | |
| # This file is free software; you can redistribute it and/or | |
| # modify it under the terms of the GNU General Public License | |
| # as published by the Free Software Foundation; either version 3 | |
| # of the License, or (at your option) any later version. | |
| # | |
| # This file is distributed in the hope that it will be useful, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/init.el b/init.el | |
| index c431854..014d90c 100644 | |
| --- a/init.el | |
| +++ b/init.el | |
| @@ -284,7 +284,6 @@ Set DEBUG=1 in the command line or use --debug-init to enable this.") | |
| ;;;; Project management | |
| (use-package project | |
| - :defer t | |
| :commands (project-find-file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1406x Cell/Indicators/Base.lua:317: attempt to compare number with nil | |
| [string "@Cell/Indicators/Base.lua"]:317: in function <Cell/Indicators/Base.lua:284> | |
| Locals: | |
| self = CellAppearancePreviewIcon3 { | |
| BottomLeftCorner = Texture { | |
| } | |
| showDuration = true | |
| elapsed = 0 | |
| duration = FontString { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 3x ...aceBlizzard_MapCanvas/Blizzard_MapCanvas.lua:189: attempt to call method 'CheckMouseButtonPassthrough' (a nil value) | |
| [string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:189: in function `AcquirePin' | |
| [string "@TomTom/libs/HereBeDragons/HereBeDragons-Pins-2.0.lua"]:437: in function `HandlePin' | |
| [string "@TomTom/libs/HereBeDragons/HereBeDragons-Pins-2.0.lua"]:733: in function `AddWorldMapIconMap' | |
| [string "@TomTom/TomTom_Waypoints.lua"]:196: in function `SetWaypoint' | |
| [string "@TomTom/TomTom.lua"]:1003: in function `AddWaypoint' | |
| [string "@TomTom/TomTom_POIIntegration.lua"]:129: in function <TomTom/TomTom_POIIntegration.lua:32> | |
| [string "@TomTom/TomTom_POIIntegration.lua"]:161: in function <TomTom/TomTom_POIIntegration.lua:157> | |
| Locals: |
NewerOlder